Reputation: 742
I use UpdatePanel in my aspx page and DropDownList with onselectedindexchanged
method.
When run first time onselectedindexchanged
method is working. But change selected again it return an error like that;
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: The state information is invalid for this page and might be corrupted.
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableViewState="False" EnableScriptGlobalization="true" >
</asp:ScriptManager>
<%@ Page Title="" Language="C#" AutoEventWireup="true"
EnableEventValidation="false" ... %>
Not : I have to Partial Rendering so i cant add EnablePartialRendering="false"
to ScriptManager.
How can i solve this problem?
Upvotes: 2
Views: 2901
Reputation: 2901
As per @Aristos' comment above, with my Telerik
solution, I had to temporarily remove the telerik:RadAjaxManager
to see the underlying error. This is similar to temporarily removing the UpdatePanel
.
In my case, the error was: TypeLoadException: Could not load type 'System.Data.Entity.DynamicProxies.RepricingApproval_40D472CCAE59DB7A70B40FC6B029B430955A5ED87A7670652AA5B4D9D96A9A38' from assembly 'EntityFrameworkDynamicProxies-Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.]
(BTW, the fix for the above was to set EnableFlattening
to false).
Upvotes: 1