B
Billy Jacobs
Fairly Complicated Problem:
1. I have a C# web application.
2. I have a web form with 3 drop down list controls and
other text box controls for updating user information.
3. There is a submit button.
4. On the page_load of the webform I databind three
dropdownlist controls to a different datareaders.
Results:
1. When I run the page displays correctly with the
dropdown lists populated with the items from the DB.
2. I can make different selections in the dropdownlists.
3. When I click the submit button is where I have
problems.
Where I am at:
1. I can get the changed values for all of the textboxes.
2. I cannot get the values I chose in the dropdownlists.
3. The selectedIndexes of the dropdownlists remain at
whichever value I initialize them to.
4. I added an event handler to capture the SelectedIndex
Change event to see its value. This event fires but the
selectedIndex does not change. Also this event fires
before the submit.Click event handler fires.
Help
Billy Jacobs
When I click submit
3. There is no code behind page. All programmatic
functions are in a Control which it References.
1. I have a C# web application.
2. I have a web form with 3 drop down list controls and
other text box controls for updating user information.
3. There is a submit button.
4. On the page_load of the webform I databind three
dropdownlist controls to a different datareaders.
Results:
1. When I run the page displays correctly with the
dropdown lists populated with the items from the DB.
2. I can make different selections in the dropdownlists.
3. When I click the submit button is where I have
problems.
Where I am at:
1. I can get the changed values for all of the textboxes.
2. I cannot get the values I chose in the dropdownlists.
3. The selectedIndexes of the dropdownlists remain at
whichever value I initialize them to.
4. I added an event handler to capture the SelectedIndex
Change event to see its value. This event fires but the
selectedIndex does not change. Also this event fires
before the submit.Click event handler fires.
Help
Billy Jacobs
When I click submit
3. There is no code behind page. All programmatic
functions are in a Control which it References.