in a multiview; view 2. I want to make the checking done within that view 2 and transfer the contents to view 3 as summary. One of my business logic states that only a maximum number of 3 child can be selected in the gridView in view2. I would want to know which event i should be using under gridview to let this work (Checking of checkbox and saving data. After google-ing for like 1-2 hours all of the codes i've found are either not what im looking for or too complicated =.= This is my gridview html <pre><asp:GridView ID="Gv_Children" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataSourceID="DataSourceGuardian" ShowHeaderWhenEmpty="True" style="margin-right: 1px" ViewStateMode="Enabled" Width="255px" > <Columns> <asp:BoundField DataField="GuardianIC" HeaderText="IC" ReadOnly="True" SortExpression="GuardianIC" /> <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" /> <asp:TemplateField HeaderText="Select"> <ItemTemplate> <asp:CheckBox ID="chkSelect" runat="server" /> </ItemTemplate> <HeaderTemplate> </HeaderTemplate> </asp:TemplateField> </Columns> <EmptyDataRowStyle BackColor="#FFF7E7" ForeColor="#8C4510" /> <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" /> <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" /> <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" /> <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" /> <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" /> <SortedAscendingCellStyle BackColor="#FFF1D4" /> <SortedAscendingHeaderStyle BackColor="#B95C30" /> <SortedDescendingCellStyle BackColor="#F1E5CE" /> <SortedDescendingHeaderStyle BackColor="#93451F" /> </asp:GridView></pre>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)