I have 3 gridview control in my page. each grid itself i am using check box as a TemplateField.when i am selecting the first grid check box. it displays some records.In this time when i am press the F5(Referesh) button.All the events in the Page not fired.
check box in the Grid:
<asp:GridView ID="gvSelectQuest" runat="server" AutoGenerateColumns="False"
AllowSorting="True" onrowdatabound="gvQuestion_RowDataBound">
<Columns>
<asp:TemplateField HeaderText="Select">
<ItemTemplate >
<asp:CheckBox ID="chkSelectGrp" AutoPostBack ="true" OnCheckedChanged ="CheckChanged" runat="server"/>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="_quest_AdminID" HeaderText="AdminID" />
</Columns>
</asp:GridView>
Check box Event:
public void CheckChanged(object sender, EventArgs e)
{
CheckBox chk = (CheckBox)(sender);
foreach (GridViewRow rowItem in gvQuesGroup.Rows)
{
}
}
Please any one Help me.