A
Allan Ebdrup
I'm Using ASP.Net 2.0 and VS2005 RC.
I've added a TableControl and a Wizard Control to my ASP.Net Page.
When i Click Finish on the wizard I do the following code:
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tc.Text = "TEST";
tr.Cells.Add(tc);
Table1.Rows.Add(tr);
And a TEST row is added to the table, but when I jump back to step 1 of the
wizard or do anything else that reloads the page, the TEST row is deleted
again. I have enabled viewstate on the table control. Why is my test row
disappearing? And how can I make the TEST row stay, even after page reloads?
Kind Regards,
Allan Ebdrup
I've added a TableControl and a Wizard Control to my ASP.Net Page.
When i Click Finish on the wizard I do the following code:
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tc.Text = "TEST";
tr.Cells.Add(tc);
Table1.Rows.Add(tr);
And a TEST row is added to the table, but when I jump back to step 1 of the
wizard or do anything else that reloads the page, the TEST row is deleted
again. I have enabled viewstate on the table control. Why is my test row
disappearing? And how can I make the TEST row stay, even after page reloads?
Kind Regards,
Allan Ebdrup