I am using RadXMLHttpPanel control in my applicaiton to implement callback functonality.
RadXMLHttpPanel control is defined in usercontrol as below:
<
telerik:RadXmlHttpPanel OnServiceRequest="RadXmlHttpPanel1_ServiceRequest" OnClientResponseEnded ="CallSuccess" OnClientResponseError="CallFailed" runat="server" ID="RadXmlHttpPanel1" EnableClientScriptEvaluation="true">
<asp:HiddenField ID="hfdShowNotification" runat="server" EnableViewState="false" />
</
telerik:RadXmlHttpPanel>.
The page in which this usrcontrol is being used has RadAjaxPane defined as below:
<radA:RadAjaxPanel ID="pnlajax" runat="server">
<asp:Button ID="btnAjax" runat="server" Text="Ajax" OnClick="btnAjax_Click" />
</radA:RadAjaxPanel>
RadXmlHttpPanel works properly if there is no any ajax request but it throws invalid viewstate error when there is ajax request before
RadXmlHttpPanel 's callback request. this happens only for first time after that it works properly.
following steps raised this problem:
1) made ajax request (after loading page) by clicking on button defined in RadAjaxpane.
2) Clicked on one button which call set_value() method of RadXmlHttpPanel panel.
Error details:
Invalid viewstate.
Client IP: 100.0.0.1
Port: 3001
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; CWADS32; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
ViewState: /wEWddCALx5bYxApSGk6MEAtXckYssscIAoznisYGAvn22fgLAtHShNsPAuKx89IBAtySgKME+dddoas2of+LhBH8VxAspilwM51wms=
Referer:
Its very urgent for me to resolve this problem, so please look in this as soon as possible.
Thanks