开发者

UpdatePanel trigger Method

开发者 https://www.devze.com 2022-12-24 00:05 出处:网络
I have a drop down list that triggers an updatepanel when the index is changed.Thats great and all, but I see it loads the update panel before running the drop down list control\'s even method. Is the

I have a drop down list that triggers an updatepanel when the index is changed. Thats great and all, but I see it loads the update panel before running the drop down list control's even method. Is there a way i can tell it to run the controls event method, BEFORE loading the update panel? I hope that mak开发者_高级运维es sense.


I'm pretty sure the answer is: No. To the best of my knowledge, you can't change the firing order of ASP.NET's events during the page's life-cycle. Usually, it's best to learn the events of the life-cycle and work around them. Here's an excellent diagram of the life-cycle events.

0

精彩评论

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