Archives

Archives / 2008 / March
  • OnLoad vs. Page_Load vs. Load event

    I get this question a lot for some reason. The more general question is whether it is better to override a virtual method on the page or control in question (OnLoad, OnInit, OnPreRender, etc), or to hook into the corresponding event. For page development you have yet another choice; that magical Page_Load method.