Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Wizard Control and DropDownList

Currently I have a web user control that contains a wizard control. The wizard contains 4 steps. The first step allows the user to decide what type of registration they want to complete. If the user is already a club member but not registered on the site I pull their data for them to verify. I am having an issue setting the selected state in the State DropDownList in Step 2 when the Next button is clicked from Step 1.

What happens is the dropdownlist is not populated with the data before I am ready to set the selected value. I have stepped through multiple events (Page_Init, Page_LoadComplete, Wizard_Init, etc.) to see when the dropdownlist is completely loaded to determine when to set the selected value but have had no such luck in doing so. I am using VB.NET and a SqlDataSource to bind the dropdownlist. Any ideas and / or help will be much appreciated.

Thanks in Advance!
[910 byte] By [BStenfors] at [2007-11-11 10:06:31]