This is a migrated thread and some comments may be shown as answers.

Rebinding datasource when opening Dropdownlist

0 Answers 84 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 29 Jun 2012, 03:58 AM
I have a project where I have several (4)  linked, but not cascading DropDownLists.

If a value is selected in DropDownList1 I want the available items in dropdown 2 ,3 and 4 to be changed

If a value is selected for DropDownList2, the values for DropDownList3 and DropDownList4  will be different.

Any  DropDownList can be selected without selecting a  DropDownList further up the hierarchy.

I can get the initial values of the  DropDownLists loading correctly, however when a dropdown list is opened, I need to check the values of the other dropdowns to determine the values in the selected box.

My question is:
Can I rebind a dropdownlist (during the open event) to an updated datasource, and how is it best to trigger this datasource update with new data parameters from all of the relevant selected dropdownlists.?

I have spent *some* time going through the forums and documentation , but cannot find anything really relevent to what I require.

Thanks
Shane

No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
Shane
Top achievements
Rank 1
Share this question
or