J
Jimmy M
I've got a page that generates dropdowns and text boxes based on
database data. I have them all set to auto-postback because I'll be
using this with Atlas to make a more seamless user experience. I've got
the Atlas/AJAX turned off for now.
I've got a page with a Wizard control. On step three of the wizard is
an empty panel. In my Page_Init() I'm calling a method which grabs the
panel and creates dropdowns, populates them with data, and adds them to
the Panel.
When I select an option on the dropdown and do a postback, two things
dont happen:
a) The SelectedIndexChanged event does not fire that I have wired to
the objects. I am wiring them up in the method that's called by
Page_Init.
b) The viewstate info does not persist on postback so that the value it
had before the postback is now show after - it's like everything is
reset every time to blank (for textboxes) or 0 (for dropdownlists).
I've also tried calling a method to set the values explicitly from the
viewstate - I'm calling this in Page_Load(). It seems the data isn't
getting set in the viewstate to be loaded.
I'm at my wits end. I've been banging on this for close to 8 hours.
Anyone have any recommendations? I've searched, and searched, and
searched and still no results that seem to fit this situation.
database data. I have them all set to auto-postback because I'll be
using this with Atlas to make a more seamless user experience. I've got
the Atlas/AJAX turned off for now.
I've got a page with a Wizard control. On step three of the wizard is
an empty panel. In my Page_Init() I'm calling a method which grabs the
panel and creates dropdowns, populates them with data, and adds them to
the Panel.
When I select an option on the dropdown and do a postback, two things
dont happen:
a) The SelectedIndexChanged event does not fire that I have wired to
the objects. I am wiring them up in the method that's called by
Page_Init.
b) The viewstate info does not persist on postback so that the value it
had before the postback is now show after - it's like everything is
reset every time to blank (for textboxes) or 0 (for dropdownlists).
I've also tried calling a method to set the values explicitly from the
viewstate - I'm calling this in Page_Load(). It seems the data isn't
getting set in the viewstate to be loaded.
I'm at my wits end. I've been banging on this for close to 8 hours.
Anyone have any recommendations? I've searched, and searched, and
searched and still no results that seem to fit this situation.