Respected sirs
I am using a DropDownList
control and binding it to a LinqDataSource
.
According to the selection of the mentioned DropDownList
, I need to bind another DropDownList
control.
I have handled the SelectedIndexChange开发者_Python百科d
event for first DropDownList
. When this SelectedIndexChanged
occurs, page is getting refreshed. To prevent page from beend refreshed, I am using an UpdatePanel
control. But, still the second DropDownList
not loading.
Please give me a solution.
Thanks Saravanaa
Place the second DropDownList
inside the UpdatePanel
.
You may want to consider using CascadeDropDown too.
精彩评论