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. }
精彩评论