AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Taking Care Of Pre_Init : Scott Allen

Saturday, June 28 2008

Pre_Init is a new Page event in 2.0 where you can set MasterPageFile and Theme properties. This article discusses a couple strategies for handline the Pre_Init event. The Page class exposes a Pre_Init event because the MasterPageFile and Theme properties need to be set early in the lifecycle of a web form. Pre_Init is the event to hook if you want to assign these properties dynamically in code. The natural question is how to implement master page and theme selection for all web forms in an application without adding a Pre_Init event handler to every single web form...

Read More:
Taking Care Of Pre_Init : Scott Allen
Also See:
Handle Browser Close Event on the Server-Side : Bilal Haidar [MVP,MCT]
Handling the back button from server code : Bertrand Le Roy
Mash-it Up with ASP.NET AJAX: Using a proxy to access remote APIs : Alessandro Gallo
Dropdown Box Using AJAX : sathesh pandian
Building AJAX Enabled File Uploading System with Progress Bar Using ASP.NET 2.0 : Jesudas Chinnathampi (Das)

Post your comment

Comment