Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.Net C# DropDownLists

Status
Not open for further replies.
Nov 19, 2003
117
US
I'm working on some ASP.Net pages and i'm using three Drop Down lists. Once the second drop down list is selected and changed i want to populate the third drop down with data from a stored procedure with the use of the other two combo boxes value as my parameters. Where i could use some help is with the events of the drop downs. I'm not really sure how to get my second combo box to fire. when my selected index is changed nothing happens. i thought that if i set the OnSelectedIndexChanged to void ddl2_SelectedIndexChanged then everything would be cool but i must not understand how ASP.Net works with control events.

Sincerely,
Michael
 
Open the designer and put the focus on the second dropdown. In the properties windows you can see the events list by clicking on the yellow lightning. double click on the row of the event you want to catch and the code window will be opened with the event declaration ready.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top