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 makes sense.
+2
A:
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.
CAbbott
2010-03-25 20:35:15
And your program should never rely on the order of control events firing, which is stated specifically in the documentation.
womp
2010-03-25 20:36:53
Wow, I just realized I was following the logic completely wrong. The link and then thinking about what womp said regard not relying on the firing order just made my brain click. You guys saved me hours of work. Thanks again!
Jisaak
2010-03-25 21:40:53