What is the use of the PreInit Event ?

Wednesday, August 5, 2009


You can use the PreInit event for the following ,

1. Check the IsPostBack property to determine whether this is the first time the page is being processed.

2. Create or re-create dynamic controls.

3. Set a master page dynamically.

4. Set the Theme property dynamically.



www.codecollege.NET

0 comments

Post a Comment

www.codecollege.NET

Blog Widget by LinkWithin