Possible Duplicate:
Populate one dropdown based on selection in another
I have 3 Dropdown list on my aspx page. First one is hard coded with 4 values. The second one should be populated programatically, for ex. if I select “Product1” in first dropdown, then second dropdown should be populated with values like “Model1_1”, “Model1_2”. If I select “Product2” then the second dropdown is populated with “Model2_1”, “Model2_2”).
Could you give me some help ?
1 Set
AutoPostBack="true"on first DropDownList1 and addOnSelectIndexChanged="YourDelegate".2 In your delegate when you post data, bind your second DropDownList2 with prefix SelectedValue