Groups | Blog | Home
all groups > asp.net webcontrols > april 2004 >

asp.net webcontrols : DropDown List: how do i use the selecteditemschanged


Michael Persaud
4/29/2004 11:35:16 AM
Hi

I am trying to have a drop down list that will list some items from one =
table then when a user selects an item from that drop down list it =
should load another dropdownlist that will have matching subcategories. =
Then when a user selects the subcateagory it again queries the database.

I am however not getting past the first DDL. I am getting the data in it =
but i dont know how to get it to work using the selecteditemschanged =
event

Can some one help me pls


Thanks
Michael Tkachev
4/30/2004 1:56:37 PM
Hi,

You have to use OnSelectedIndexChanged event.

Michael
[quoted text, click to view]
Hi

I am trying to have a drop down list that will list some items from =
one table then when a user selects an item from that drop down list it =
should load another dropdownlist that will have matching subcategories. =
Then when a user selects the subcateagory it again queries the database.

I am however not getting past the first DDL. I am getting the data in =
it but i dont know how to get it to work using the selecteditemschanged =
event

Can some one help me pls


Thanks
AddThis Social Bookmark Button