开发者

Onselectedindexchanged is firing

In grid row command ev开发者_运维技巧ent I am calling a .ascx page as a popup.

In the popup I have one button, on clicking the button, I'm calling one more popup.

Under the second popup I have four dropdown controls, in the dropdown controls I'm filtering and filling the data one after another.

The problem here is, if I filter the third dropdown, the second dropdown field data is getting reset(Onselectedindexchanged is firing).


You might be reloading/binding the drop downs on post back. You may want to change it to something like this

if(!Page.IsPostback) { //load the dropdowns the first time. }

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜