开发者

Not able to fill a DropDownList according to the selection of another DropDownList

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜