Welcome Guest Search | Active Topics | Sign In | Register

The state information is invalid for this page and might be corrupted. Options
JohnR
Posted: Tuesday, October 23, 2007 6:23:50 PM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
I am having a problem with the callback panel:

The page has 2 primary parts:
1) A composite custom data control that uses callback to update. (nothing special (written by me))
2) An eo callback panel with several server controls that I use to add new records.

Here's what happens:
1) put something in server controls in callback panel.
2) execute server action that inserts the record.
3) clear server controls in callback panel.
4) run client script that triggers callback that updates the data control. (ClientSideAfterUpdate="callbackExecRet")
5) put something else in server controls in callback panel.
6) execute server action that inserts the record.
7) get the following error:



Server Error in '/PSHPWeb' Application.


The state information is invalid for this page and might be corrupted.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The state information is invalid for this page and might be corrupted.

Source Error:


[No relevant source lines]


Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\pshpweb\20a1b179\847e3118\App_Web_svmvfno-.2.cs Line: 0

Stack Trace:


[ViewStateException: Invalid viewstate.
Client IP: 127.0.0.1
Port:
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Embedded Web Browser from: http://bsalsa.com/; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30)
ViewState: /wEWGQKdo+PjDAL7jsehBALkjsehBALljsehBAK12e7wBAK8tsSeCAKttsSeCAK6trydCAK4tsSeCAK+tsSeCAK7tsSeCAK6trSdCAK5tsSeCAK6tqCdCAK6tridCAK6tsSeCAKitsSeCAK6trCdCAK/tsSeCAK6toidCAK6toydCAK6toSdCAL+zqO2BALc3uCnBAKP6PmbATuoAXuhQ+L/K7kNZWggI9hLcnNI
Referer: http://localhost:35555/PSHPWeb/Secure/SingleRecord.aspx?ttype=sales&tvar=116979&fn=Jerry&ln=Rickenbach
Path: /PSHPWeb/Secure/SingleRecord.aspx]

[HttpException (0x80004005): The state information is invalid for this page and might be corrupted.]
System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +116
System.Web.UI.ClientScriptManager.EnsureEventValidationFieldLoaded() +321
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +67
System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +106
System.Web.UI.WebControls.ListBox.LoadPostData(String postDataKey, NameValueCollection postCollection) +120
System.Web.UI.WebControls.ListBox.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +408
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6978
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.secure_singlerecord_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\pshpweb\20a1b179\847e3118\App_Web_svmvfno-.2.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64





Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832


here is the code that runs the behind the form (partial)

protected void LinkButton1_Click(object sender, EventArgs e)
{
if(Page.IsValid)
{
StringBuilder sb = new StringBuilder();
sb.Append("p_iu_cpgContactSales 0,");
sb.Append(WFLcontrols.StringValidation.SQLValidateNumber(Request.QueryString["tvar"].ToString()) + ", ");
sb.Append(Session["userid"].ToString() + ", ");
sb.Append(this.ListBox1.SelectedValue + ", ");
sb.Append("'" + this.DatePicker1.SelectedDate.ToString("g") + "',");
sb.Append("'" + "" + "', "); //time info
sb.Append(this.DropDownList1.SelectedValue + ", ");
sb.Append((this.CheckBox1.Checked ? "1" : "0") + ", ");
sb.Append("'" + WFLcontrols.StringValidation.SQLValidateString(WFLcontrols.StringValidation.SQLReplaceSingleQuote(this.TextBox1.Text)) + "'");
int ret = WFLcontrols.GenericData.RunNonQuery(sb.ToString(), false, WebConfigurationManager.ConnectionStrings["local"].ConnectionString);
if(ret == 1)
{
ListBox1.SelectedIndex = -1;
DatePicker1.SelectedDate = DateTime.Now;
this.DropDownList1.SelectedIndex = -1;
CheckBox1.Checked = false;
TextBox1.Text = string.Empty;
}
else
{
Response.Write("The update failed. If this problems persists, please contact technical support.");
}
}
}

protected void CallbackPanel1_Execute(object sender, EO.Web.CallbackEventArgs e)
{
e.Data = "true";
}

and partial page code:

<cc1:DataTab ID="DataTabLeadManagement" runat="server" OnRequestData="DataTabLeadManagement_OnRequestData"
OnAction="DataTabLeadManagement_OnAction" EnableViewState="false" />
<eo:CallbackPanel ID="CallbackPanel1" runat="server" Width="100%" ClientSideAfterUpdate="callbackExecRet"
OnExecute="CallbackPanel1_Execute" Visible="false" Triggers="{ControlID:LinkButton1;Parameter:}">
<asp:Panel ID="Panel5" runat="server">
<div style="padding-left:40px; padding-top: 25px">
<table style="width:700px" cellpadding="0" cellspacing="0" border="0" class="tableAlt">
<colgroup>
<col style="width:100px" /><col style="width:250px" /><col style="width:100px" /><col style="width:150px" />
</colgroup>
<tr><td colspan="4" style="text-align:center; font-weight:bold">New Sales Action</td></tr>
<tr>
<td class="tdTitle" >Contact Type</td>
<td >
<asp:ListBox ID="ListBox1" runat="server" Height="55px">
<asp:ListItem Value="0">Phone Call</asp:ListItem>
<asp:ListItem Value="1">Appointment</asp:ListItem>
<asp:ListItem Value="2">Other</asp:ListItem>
</asp:ListBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Please select a contact type." ControlToValidate="ListBox1"></asp:RequiredFieldValidator>
</td>
<td class="tdTitle">Status of Contact</td>
<td >
<asp:DropDownList ID="DropDownList1" runat="server" Width="217px">
<asp:ListItem></asp:ListItem>
</asp:DropDownList><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Please fill in the status." ControlToValidate="DropDownList1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="tdTitle">Date and Time</td>
<td valign="middle">
<eo:DatePicker id="DatePicker1" runat="server" DayHeaderFormat="FirstLetter" TitleLeftArrowImageUrl="DefaultSubMenuIconRTL"
DayCellHeight="16" OtherMonthDayVisible="True" DayCellWidth="19" TitleRightArrowImageUrl="DefaultSubMenuIcon"
ControlSkinID="None" PickerFormat="MM/dd/yyyy hh:mm tt">
<DayHoverStyle CssText="border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid"></DayHoverStyle>
<TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;"></TitleStyle>
<DayHeaderStyle CssText="border-bottom: #aca899 1px solid"></DayHeaderStyle>
<DayStyle CssText="border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></DayStyle>
<SelectedDayStyle CssText="background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></SelectedDayStyle>
<TitleArrowStyle CssText="cursor:hand"></TitleArrowStyle>
<TodayStyle CssText="border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid"></TodayStyle>
<PickerStyle CssText="font-family:Courier New; padding-left:5px; padding-right: 5px;"></PickerStyle>
<OtherMonthDayStyle CssText="color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></OtherMonthDayStyle>
<CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma"></CalendarStyle>
<DisabledDayStyle CssText="color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid"></DisabledDayStyle>
<MonthStyle CssText="font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px; font-family: tahoma"></MonthStyle>
<PopupExpandEffect Duration="300" Steps="4" Type="Fade" />
<PopupCollapseEffect Duration="300" Steps="4" Type="Fade" />
</eo:DatePicker>
</td>
<td class="tdTitle">Finished</td>
<td>
<asp:CheckBox ID="CheckBox1" runat="server" Text=" " />
</td>
</tr>
<tr>
<td class="tdTitle">Notes</td>
<td colspan="3">
<asp:TextBox ID="TextBox1" runat="server" Width="100%"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="4" style="text-align:right; vertical-align:middle; height: 30px;">
<span style="padding-right:100px"><asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">Submit this Sales Action</asp:LinkButton></span>
</td>
</tr>
</table>
</div>
</asp:Panel>
</eo:CallbackPanel>


function callbackExecRet(callback, output, vars){
wfl_DataTabLeadManagement_callBackServerConc('getdata', 0, $get('leadid').value);
}

I have seen other problems with invalid viewstate. Any ideas?
JohnR
Posted: Tuesday, October 23, 2007 6:44:27 PM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
Here's the kicker (that may not be obvious above):
1) It works right the first time.
2) If I take out the ClientSideAfterUpdate="callbackExecRet" it works fine, but my data control is not updated.
3) I can use my data control all day without any viewstate errors.
4) The enableviewstate for the data control = false.

Thanks!
john
eo_support
Posted: Tuesday, October 23, 2007 6:46:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Your code looks fine to me. I am not sure if you meant dynamically deleting/adding controls by "clear server controls" and "add some server controls" though. If that's the case, try set Visible to True/False instead. That way the control hierarchy does not change. Dynamically modifying control hierarchy is known to cause all sort of view state problems if not done correctly.

If the problem still occurs after that, we would need you to create a small project that reproduces the problem and we would be happy to take a look.

Thanks
eo_support
Posted: Tuesday, October 23, 2007 6:49:20 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
JohnR wrote:
Here's the kicker (that may not be obvious above):
1) It works right the first time.
2) If I take out the ClientSideAfterUpdate="callbackExecRet" it works fine, but my data control is not updated.
3) I can use my data control all day without any viewstate errors.
4) The enableviewstate for the data control = false.

Thanks!
john


We do not do anything special about ClientSideAfterUpdate except for calling it. Your update code happened to have changed something? Have you tried to use an empty callbackExecRet?
JohnR
Posted: Tuesday, October 23, 2007 6:53:30 PM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
Thanks for your quick reply!

By "clear server controls", i mean that I am just setting the values back to initial values:

ListBox1.SelectedIndex = -1;
DatePicker1.SelectedDate = DateTime.Now;
this.DropDownList1.SelectedIndex = -1;
CheckBox1.Checked = false;
TextBox1.Text = string.Empty;

This is so the user can add a new record without having the last values to clear.
JohnR
Posted: Wednesday, October 24, 2007 8:11:25 AM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
I have done some more testing. The data control is a strait forward composite control that builds tables and impliments ICallbackEventHandler.

If I wire wfl_DataTabLeadManagement_callBackServerConc('getdata', 0, $get('leadid').value); to a button instead of ClientSideAfterUpdate, it works fine... Until an update is triggered in your callback panel. After the update is triggered, the JS is broken that would ordinarily call the update on the data control.

Any ideas? I am using unique names in all JS that is generated by the data control. It works fine as long as the update panel is not triggered first.Thanks!
eo_support
Posted: Wednesday, October 24, 2007 8:24:56 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi John,

The only difference between the CallbackPanel and a regular page update as for JavaScript concern is CallbackPanel can not execute the embedded JavaScript on the global scope. Most people will never run into that because they do not put JavaScript inside the CallbackPanel. As far as ClientSideAfterUpdate, there is nothing special about it ---- it’s a function you provide and we call it. So I do not believe it can be anything directly related to that.

Thus I would recommend you to look into your wfl_DataTabLeadManagement_callBackServerConc first. Try to replace it with an empty function and see if it works. From there you can gradually put your original code back and you should be able to find out the offending part. It might immediately make sense to both of us once we know what triggered it.

Thanks
JohnR
Posted: Wednesday, October 24, 2007 8:44:26 AM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
Empty function: does not cause error.

Run wfl_DataTabLeadManagement_callBackServerConc from button: works all day long

Run wfl_DataTabLeadManagement_callBackServerConc from button after trigering an update in eo callback panel (adding a new record to the db): fails with no error, just doesn't get to the the callback. Eg. the JS is now broken.

Run wfl_DataTabLeadManagement_callBackServerConc from ClientSideAfterUpdate: causes viewstate error stated at beginning.

I will continue to look into this. I really need this functionality.

Thanks,
john




JohnR
Posted: Wednesday, October 24, 2007 10:22:52 AM
Rank: Member
Groups: Member

Joined: 6/11/2007
Posts: 13
Did some more research, here is what I have:

This is the postData from calling wfl_DataTabLeadManagement_callBackServerConc from a button. Note that the button and the control : DataTabLeadManagement are outside the eo callback panel... This postData will successfully triger a callback from my control.

"leadid=116990&leadzip=98450&__EVENTTARGET=&__EVENTARGUMENT=&eo_cb_id=&ctl00_ContentPlaceHolder1_CallbackPanel1_trigger=&ctl00_ContentPlaceHolder1_CallbackPanel1_param=&__eo_obj_states=&__VIEWSTATE=%2FwEPDwUKMjEzMTk1NDU3OA9kFgJmD2QWAgIDD2QWBAIBDxYCHglpbm5lcmh0bWwFJDxoMj5QU0hQIENhbGwgQ2VudGVyIE1hbmFnZW1lbnQ8L2gyPmQCBQ9kFgICBw8PDxYCHgdWaXNpYmxlZ2QPZAU0QndNaWUwTnZiblJ5YjJ4SlJEcE1hVzVyUW5WMGRHOXVNVHRRWVhKaGJXVjBaWEk2ZlFBQRYEAgQPEA8WCB4UQXBwZW5kRGF0YUJvdW5kSXRlbXNnHg5EYXRhVmFsdWVGaWVsZAUIc3RhdHVzaWQeDURhdGFUZXh0RmllbGQFEXN0YXR1c2Rlc2N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%2Fscripts%2Feo_script%2Feo.a415e878-e4e8-4ffb-b665-3435616b85be.js%7Cpop%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.fa5d3281-2e71-41af-b80c-0438746dd19e.js%7Cei%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.5db3cd0d-c4bd-4ade-b441-f8d3c7aa62f6.js%7Ce%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.22d99426-9230-4247-a531-f0a198965f0e.js%7Cme%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.51cbfb99-f6bf-4aa5-89a4-55e377ae8f30.js%7Ccd%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.1e9de512-6b3b-428f-941c-c03dcf17d244.js%7Cdd%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.7e2129f8-8ebe-451d-a1a6-694cdc211761.js%7Cdg&=10%2F24%2F2007%2009%3A46%20AM&ctl00$ContentPlaceHolder1$TextBox1=&__CALLBACKID=ctl00%24ContentPlaceHolder1%24DataTabLeadManagement&__CALLBACKPARAM=getdata%7C0%7C116990&__EVENTVALIDATION=%2FwEWGQLwreroBgL7jsehBALkjsehBALljsehBAK12e7wBAK8tsSeCAKttsSeCAK6trydCAK4tsSeCAK%2BtsSeCAK7tsSeCAK6trSdCAK5tsSeCAK6tqCdCAK6tridCAK6tsSeCAKitsSeCAK6trCdCAK%2FtsSeCAK6toidCAK6toydCAK6toSdCAL%2BzqO2BALc3uCnBAKP6PmbAaL1Nt9JUI5H5Z2C3rWWStjFW3X8"

This is the same call. However it is called from a timer that is initiated from ClientSideAfterUpdate="callbackExecRet" like this:

function callbackExecRet(callback, output, vars){
var v = setTimeout("goGetData()", 1000);
}
function goGetData(){debugger;
wfl_DataTabLeadManagement_callBackServerConc('getdata', 0, $get('leadid').value);
}

This fails to run the callback:

"leadid=116990&leadzip=98450&__EVENTTARGET=&__EVENTARGUMENT=&eo_cb_id=&ctl00_ContentPlaceHolder1_CallbackPanel1_trigger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0yNCAwOTo0Njo1OGRkZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAgUlY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSREYXRlUGlja2VyMQUjY3RsMDAkQ29udGVudFBsYWNlSG9sZGVyMSRDaGVja0JveDFSiLFwz10E4B3w2APJQUmYM%2B1EWg%3D%3D&eo_version=4.0.43.2&ctl00$ContentPlaceHolder1$DropDownList1=&_eo_js_modules=%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.d2f7e2b1-a1fe-4a28-9149-12a6b26d1eae.js%7Cu%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.5e683c6a-e624-405a-9fbd-e82c4dfad39d.js%7Cc%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.a415e878-e4e8-4ffb-b665-3435616b85be.js%7Cpop%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.fa5d3281-2e71-41af-b80c-0438746dd19e.js%7Cei%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.5db3cd0d-c4bd-4ade-b441-f8d3c7aa62f6.js%7Ce%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.22d99426-9230-4247-a531-f0a198965f0e.js%7Cme%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.51cbfb99-f6bf-4aa5-89a4-55e377ae8f30.js%7Ccd%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.1e9de512-6b3b-428f-941c-c03dcf17d244.js%7Cdd%7C%2FPSHPWeb%2Fscripts%2Feo_script%2Feo.7e2129f8-8ebe-451d-a1a6-694cdc211761.js%7Cdg&=10%2F24%2F2007%2009%3A46%20AM&ctl00$ContentPlaceHolder1$TextBox1=&__CALLBACKID=ctl00%24ContentPlaceHolder1%24DataTabLeadManagement&__CALLBACKPARAM=getdata%7C0%7C116990&__EVENTVALIDATION=%2FwEWGQLYz7LrAQL7jsehBALkjsehBALljsehBAK12e7wBAK8tsSeCAKttsSeCAK6trydCAK4tsSeCAK%2BtsSeCAK7tsSeCAK6trSdCAK5tsSeCAK6tqCdCAK6tridCAK6tsSeCAKitsSeCAK6trCdCAK%2FtsSeCAK6toidCAK6toydCAK6toSdCAL%2BzqO2BALc3uCnBAKP6PmbARY3aa%2BimUfgIJg%2B5N3kxrwxYltZ"

Neither of these calls should involve the eo callback panel at all. The timer should seperate the second one.

Just for kicks, here is the postData from a page that does not have a eo callback panel and that triggers the callback on the control:

"userIDph=1003&dtName=ctl00_ContentPlaceHolder1_DataTab1&dd2=ctl00_ContentPlaceHolder1_DropDownList2&dd1=ctl00_ContentPlaceHolder1_DropDownList1&__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=%2FwEPDwULLTEzOTE4OTI5MDMPZBYCZg9kFgICAw9kFgQCAQ8WAh4JaW5uZXJodG1sBRs8aDI%2BQ2FsbCBDZW50ZXIsIFNhbGVzPC9oMj5kAgUPZBYEAgMPEA8WCB4ORGF0YVZhbHVlRmllbGQFBXBvZGlkHg1EYXRhVGV4dEZpZWxkBQpyZWdpb25OYW1lHhRBcHBlbmREYXRhQm91bmRJdGVtc2ceC18hRGF0YUJvdW5kZ2QPFgUCAQICAgMCBAIFFgUQBSZIaWdobGluZSBNZWRpY2FsIFNlcnZpY2VzIE9yZ2FuaXphdGlvbgUBM2cQBRtLaW5nIENvdW50eSBGZWUgZm9yIFNlcnZpY2UFATVnEAUcTm9ydGh3ZXN0IFBoeXNpY2lhbnMgTmV0d29yawUBMmcQBRdQaHlzaWNpYW5zIENhcmUgTmV0d29yawUBNGcQBRtQaHlzaWNpYW5zIG9mIFNXIFdhc2hpbmd0b24FATFnZGQCBQ8QDxYIHwEFB2V2ZW50aWQfAgUQZXZlbnRkZXNjcmlwdGlvbh8DZx8EZ2QPFhwCAQICAgMCBAIFAgYCBwIIAgkCCgILAgwCDQIOAg8CEAIRAhICEwIUAhUCFgIXAhgCGQIaAhsCHBYcEAUzUmVjZXB0aW9uIExhbmRtYXJrIENvbnZlbnR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sZSBGaXJzdCBCYXB0aXN0IENodXJjaCAxMC8yMy8yMDA3ICg5KQUDMjkzZxAFMFRvd24gSGFsbCBTd2VkaXNoIEN1bHR1cmFsIENlbnRlciAxMC8zMC8yMDA3ICg5KQUDMjk0Z2RkZCnYQM6qT8kDBXWLiyMoAl1UmGn%2F&=&=&=&=&=&=&ctl00$ContentPlaceHolder1$DropDownList1=&ctl00$ContentPlaceHolder1$DropDownList2=&eo_version=4.0.43.2&=&__CALLBACKID=ctl00%24ContentPlaceHolder1%24DataTab1&__CALLBACKPARAM=getdata%7C2%7C'rickenbach'%2C%20''&__EVENTVALIDATION=%2FwEWJALPypDUCAK12e7wBAK4tsSeCAK%2BtsSeCAK7tsSeCAK5tsSeCAK6tsSeCAKa8NDbCgLe58eUDwLF8OW%2FBQLR1fziAgKy3tXhAQLZ5%2FOUDwKOo6zVDgK1zMr%2FBAL2vfj%2BDgKz3qXiAQLxvfD%2BDgLe58OUDwLLlNJLAqrM2v8EAtHV%2BOICAsXwtb8FAsuU1ksCs96h4gEC3ufflA8CypTWSwL%2F%2FpaVCAKy3qHiAQLxvfT%2BDgLF8P2%2FBQLgmZqiAwLE8LW%2FBQKy3tnhAQLjmdKhAwKOo%2FDUDprxPeHfsGK6ptyYOLgM2cCtBkfs"

Any help here would be greatly appreciated.

Thanks,
john
eo_support
Posted: Wednesday, October 24, 2007 10:49:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi John,

Do you mean your wfl_DataTabLeadManagement_callBackServerConc also triggers callback to the server to perform other tasks? That would make sense to use setTimeout function. When our CallbackPanel update the output, it updates both the DHTML contents inside the CallbackPanel and view state data for the whole page --- otherwise you will get the view state validation error. View state is not updated until ClientSideAfterUpdate is done. So if you do need to go back to the server again, you should not do it inside ClientSideAfterUpdate.

Yet without fully understand your code I can not explain why it would fail. The first case and the second case look identical to me. There is no way that we can spot anything from the binary chunks without debugging it, so I believe the only way to get to the bottom of this is to debug into the code and try what I suggested in my previous post --- taking everything out and then gradually put them back.

We will be happy to debug it here if you can create a separate small reproducing project for us. The project shall not rely on any external resource because unless we can load and run it here, it’s impossible for us to find the problem.

Thanks



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.