Posted 28 Jun 2012
Link to this post
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.