S
Steve Black
I dynamically create a table (System.Web.UI.WebControls.Table) and
load it with various radiobuttons and text.
I have a 'Submit' button on my page (another server-side button, not
an HTML Submit button). When I click the submit button, I want to see
which radio button was selected.
The problem is, when I check the number of controls in my table (by
looping through the rows) in the code-behind for the Submit button, I
am being told that there are no rows in my table. I'm pretty sure
this is because the Page_Load runs prior to the Submit code, and I
therefore am losing all of my table information.
How can I access my table information before it get wiped out by the
Postback?
Any help would be greatly appreciated.
Thanks,
Steve
load it with various radiobuttons and text.
I have a 'Submit' button on my page (another server-side button, not
an HTML Submit button). When I click the submit button, I want to see
which radio button was selected.
The problem is, when I check the number of controls in my table (by
looping through the rows) in the code-behind for the Submit button, I
am being told that there are no rows in my table. I'm pretty sure
this is because the Page_Load runs prior to the Submit code, and I
therefore am losing all of my table information.
How can I access my table information before it get wiped out by the
Postback?
Any help would be greatly appreciated.
Thanks,
Steve