dependent controls in datalist

sconard

Newcomer
Joined
Dec 2, 2003
Messages
3
I.E.
There are two dropdown lists in a datalist itemTemplate.
dropDownList1 has two values 1, 2
dropDownList2 has two values A, B

On selectedIndexChange event of dropDownList1, I want to change the value selection of dropDownList2 to C, D and remove options A, B.

Remember: These controls only exist while datalist is in edit mode so I cannot just refer to the names of the controls in the code behind.

Does anyone have an asp.net example of how this can be done?
 
Back
Top