Dynamically Added Controls and the Page Life Cycle in ASP.NET

posted on 03/09/07 at 12:16:54 am by Joel Ross

I've been working with dynamically adding controls and server controls for three or four years now, but I've never really thought about how the page life cycle works for controls that are dynamically added - even though that's pretty much how my custom controls are built.

Well, Michal Talaga sheds some light for those who are interested. It's referred to as "Catch-Up Events" and basically the controls go through a hyper life cycle to catch up with the stage that the rest of the page is in. Definitely good to know!

Technorati Tags: |

Categories: ASP.NET