In my C# web form, I have 4 SqlDataSource as the data source for 4 DropDownList , the 4 DropDownList are in UpdatePanel1.
The 4 DropDownList are DDLDept, DDLMain, DDLSub, DDLChild, what I would like to to is clicking the DDLDept then the DDLMain will be reloaded according to what is selected in the DDLDept, and this sequence will be applied to the DDLMain to DDLSub, DDLSub to DDLChild.Now comes some problems,1. the SelectedIndexChanged event won't occur if I don't click the second item in the DropDownList, so the items range of the second DropDownList are not confined to the first DropDownList, so as the third and forth DropDownList.
2. How do I limit the next DropDownList items to the previous DropDownList's first item in the Page load?
Thanks for help.Jason
View Complete Post