A
AFN
I have a server-side table,
<asp:table id="tblData" EnableViewState="true" runat="server" />
and my code-behind adds rows of data to the table in code that says:
if not page.ispostback then
LoadDataTable()
end if
I also have a checkbox, with autopostback=true.
On the first page_load, the data table has rows of data. The problem is
that when I check the checkbox and the page posts back, the table
disappears. I don't understand why it doesn't preserve the table
considering EnableViewState is true?????
<asp:table id="tblData" EnableViewState="true" runat="server" />
and my code-behind adds rows of data to the table in code that says:
if not page.ispostback then
LoadDataTable()
end if
I also have a checkbox, with autopostback=true.
On the first page_load, the data table has rows of data. The problem is
that when I check the checkbox and the page posts back, the table
disappears. I don't understand why it doesn't preserve the table
considering EnableViewState is true?????