-
ASP Table Control
I am using the ASP Table control to build a table that contains other controls - checkboxes and textboxes.
The problem is that when the user changes the survey question country via a drop down list box the questions are the same - however then answers change -
I rebuild the table on the page_load event each time however the controls inside the table cells (text/checkbox rebuilt with the same id) show the old values even through I build the controls and set their values based on a query that holds different results.
I have tried setting the table enableviewstate to false in the page_init however this does not help.
Does anyone have an answer for this problem. Thanks!
-
Re: ASP Table Control
The webform events are processed in the following manner:
Page_Load
Cached Events
Post-Back Events
Page_unload
So i think you should "load" the new set of values in the "click event" of the button which post back the page/or the event code in which the post back occurs.