i added a template column to a data grid :
<aspataGrid id="DataGrid1" runat="server" PageSize="5" AllowPaging="True">
<Columns>
<asp:TemplateColumn HeaderText="Name">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemTemplate>
<asp:checkbox runat="server" ID="ItemSelection" enableViewState="True" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Mode="NumericPages"></PagerStyle>
</aspataGrid>
now : the problem is that those custom check boxes would not maintain there status if the page is reloaded, although i set the enableViewState property to TRUE !!
any help ?
<aspataGrid id="DataGrid1" runat="server" PageSize="5" AllowPaging="True">
<Columns>
<asp:TemplateColumn HeaderText="Name">
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
<ItemTemplate>
<asp:checkbox runat="server" ID="ItemSelection" enableViewState="True" />
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle Mode="NumericPages"></PagerStyle>
</aspataGrid>
now : the problem is that those custom check boxes would not maintain there status if the page is reloaded, although i set the enableViewState property to TRUE !!
any help ?