Note that there are some explanatory texts on larger screens.

plurals
  1. POEvent of controls on othe page not being fired and gives error
    primarykey
    data
    text
    <p>This is How I loadan aspx page in a div</p> <pre><code>&lt;script type="text/javascript"&gt; $(function () { setInterval(function () { $('#div1').load('frmChatRequest.aspx', function () { }); }, 10000); }); &lt;/script&gt; </code></pre> <p>But I got one Problem, which is I have grid view controls like button field and their event is not firing and it is giving this error <code>"The state information is invalid for this page and might be corrupted."</code> What should I do? this is the error<img src="https://i.stack.imgur.com/Heifh.jpg" alt="enter image description here"></p> <p>This is frmChatRequest.aspx page</p> <pre><code>&lt;%@ Page EnableEventValidation="false" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="frmChatRequest.aspx.cs" Inherits="Chat_frmChatRequest" %&gt; &lt;asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"&gt; &lt;/asp:Content&gt; &lt;asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"&gt; &lt;div id="divConversation" style=" width: 101%; height:174px; overflow:auto; overflow-x:hidden"&gt; &lt;asp:GridView S ID="gdvChatRequestRoom" style="background-color:ALICEBLUE;" runat="server" AutoGenerateColumns="false" Width="358px" Height="57px" GridLines="Horizontal" BorderStyle="None" BorderColor="Black" OnRowCommand="gdvChatRequestRoom_RowCommand" &gt; &lt;Columns&gt; &lt;asp:TemplateField ItemStyle-HorizontalAlign="Center"&gt; &lt;ItemTemplate&gt; &lt;asp:HiddenField ID="hdnAddPeople" Value='&lt;%#Eval("Q116001") %&gt;' runat="server" /&gt; &lt;/ItemTemplate&gt; &lt;ItemStyle HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt; &lt;/asp:TemplateField&gt; &lt;asp:BoundField HeaderText="Chat Title" DataField="Q116003" ItemStyle-HorizontalAlign="Left"&gt; &lt;ItemStyle HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt; &lt;/asp:BoundField&gt; &lt;asp:BoundField HeaderText="Request By " DataField="LOG2002" ItemStyle-HorizontalAlign="Left"&gt; &lt;ItemStyle HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt; &lt;/asp:BoundField&gt; &lt;asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="Action"&gt; &lt;ItemTemplate&gt; &lt;asp:Button ID="btnAccept" CausesValidation="false" runat="server" Text="Accept" CommandName="Accept" CommandArgument='&lt;%# Eval("Q116002") %&gt;'&gt; &lt;/asp:Button&gt; &lt;/ItemTemplate&gt; &lt;ItemStyle HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="" &gt; &lt;ItemTemplate&gt; &lt;asp:Button ID="btnReject" CausesValidation="false" runat="server" Text="Reject" CommandName="Reject" CommandArgument='&lt;%# Eval("Q116002") %&gt;'&gt; &lt;/asp:Button&gt; &lt;/ItemTemplate&gt; &lt;ItemStyle HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt; &lt;/asp:TemplateField&gt; &lt;/Columns&gt; &lt;HeaderStyle BorderStyle="None" /&gt; &lt;/asp:GridView&gt; &lt;/div&gt; &lt;div&gt; &lt;marquee runat="server" id="myMarqueeChatRequest" direction=left scrollamount="11" scrolldelay="200" style="color:Red;background-color:ALICEBLUE;"&gt;&lt;/marquee&gt; &lt;/div&gt; &lt;/asp:Content&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    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.
    1. This table or related slice is empty.
    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