|
-
Dec 14th, 2004, 04:08 PM
#1
Thread Starter
New Member
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!
-
Dec 15th, 2004, 02:08 AM
#2
PowerPoster
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|