开发者

Onselectedindexchanged is firing

开发者 https://www.devze.com 2023-03-21 19:48 出处:网络
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.

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

精彩评论

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