Note that there are some explanatory texts on larger screens.

plurals
  1. PO"The state information is invalid for this page and might be corrupted"
    primarykey
    data
    text
    <p>My asp.net application has a master page, a content page and a user control.</p> <p>In the main master page there is a link which displays a fancybox as an iframe. The iframe has a form to login to the page. The iframe is a new masterpage which has the content page of the login which has the user control of the login.</p> <p>When the user clicks on the button to login the server side checks if the credentials are ok and if not it displays a message. All this with a custom validator.</p> <p>My problem is that when the user first clicks the button to login it checks ok but if the credentials are not good and the user retypes them i get the following error on firefox </p> <pre><code>Error: Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: the state information is invalid for this page and might be corrupted http.../jquery-1.7.2.js </code></pre> <p>On the masterPage I have</p> <pre><code>&lt;%-- jQuery --%&gt; &lt;script src="&lt;%= ResolveClientUrl("~/Template/Scripts/jquery-1.7.2.js") %&gt;" type="text/javascript"&gt;&lt;/script&gt; &lt;%-- jQueryUI --%&gt; &lt;script src="&lt;%= ResolveClientUrl("~/Template/jqueryui/js/jquery-ui-1.8.21.custom.min.js") %&gt;" &lt;script type="text/javascript" src="&lt;%= ResolveClientUrl("~/Template/Scripts/jquery.fancybox-1.4.3.min.js") %&gt;"&gt; &lt;/script&gt; &lt;script type="text/javascript" charset="utf-8"&gt; $(document).ready(function () { $("#LoginLightBox").fancybox({ width: 300, height: 750, scrolling: "no" }); $("#RegistroLightbox").fancybox({ width: 300, height: 750, scrolling: "no" }); }); &lt;/script&gt; &lt;asp:ContentPlaceHolder ID="HeadContent" runat="server"&gt; &lt;/asp:ContentPlaceHolder&gt; &lt;body id="page1"&gt; &lt;form id="Form1" runat="server"&gt; &lt;asp:ScriptManager ID="ScriptManager" runat="server"&gt; &lt;/asp:ScriptManager&gt; &lt;div &gt; &lt;li style="display:inline"&gt;&lt;a class="labelsTipolinks" id="LoginLightBox" href="Login.aspx?iframe=true"&gt;Login&lt;/a&gt;&lt;/li&gt; &lt;li style="display:inline;color: #C53005;"&gt;|&lt;/li&gt; &lt;li style="display:inline"&gt;&lt;a class="labelsTipolinks" id="RegistroLightbox" href="RegistroUsuario.aspx?iframe=true"&gt;Registro&lt;/a&gt;&lt;/li&gt; </code></pre> <p>On the content page:</p> <pre><code>&lt;%@ Register TagPrefix="uc1" TagName="Login" Src="~/Controles/Login.ascx" %&gt; </code></pre> <p> </p> <p>And finally the user control:</p> <pre><code>&lt;div style="margin-top: 20px"&gt; &lt;asp:UpdatePanel runat="server" ID="updPanelLoginIncorrecto"&gt; &lt;ContentTemplate&gt; &lt;asp:CustomValidator ForeColor="Red" OnServerValidate="usuarioExistente_Validation" Display="Static" Font-Size="Small" runat="server" ID="vldLogin" ValidationGroup="grupoValidacionLoginUsuario" Text="&lt;%$ Resources:LocalizedText, MsjError_LoginIncorrecto%&gt;"&gt; &lt;/asp:CustomValidator&gt; &lt;/ContentTemplate&gt; &lt;Triggers&gt; &lt;asp:AsyncPostBackTrigger ControlID="btnLoginLightbox" EventName="Click" /&gt; &lt;/Triggers&gt; &lt;/asp:UpdatePanel&gt; &lt;/div&gt; &lt;div class="tableContent" style="float: right;"&gt; &lt;asp:Button CssClass="button" ID="btnLoginLightbox" Text="Login" runat="server" OnClick="btnLogin_Click" ValidationGroup="grupoValidacionLoginUsuario" /&gt; &lt;/div&gt; </code></pre> <p>Please help this is going me crazy. I have already try enable eventvalidation set to false, sessions, response.cache.setno... etc but none worked.</p> <p><strong>EDIT</strong></p> <p>The line where i get the error is on jquery 1.7.2.js and is on the line that says jQuery.dequeue( elem, type );</p> <p><strong>EDIT 2</strong></p> <p>I ended up putting the fancybox as an inline element inside the master but it is not the solution i want. Please help me out!!!!!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload