New Message on dotNET User Group Hyd

Mention the various events of the page life cycle in ASP.Net

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: BBaskar

Hi All,<o:p></o:p>

Please see the Response to the following Question, "Mention the various events of the page life cycle in ASP.Net". Apart from Page Events i have also included the whole Page Hierarchy.<o:p></o:p>

1.       Page Creation<o:p></o:p>

o        Set initial component properties based on specification and template files. No component relationships established.<o:p></o:p>

2.       OnInit (Broadcast)<o:p></o:p>

o        Establish database connection.'Event' is broadcasted to the whole page hierarchy'.<o:p></o:p>

3.       Viewstate Loading<o:p></o:p>

o        Page is restored to state displayed to the user the last time<o:p></o:p>

4.       Post Data Loading<o:p></o:p>

o        Data submitted utilized by components or component properties changed by data posted by the user.<o:p></o:p>

5.       OnLoad (Broadcast)<o:p></o:p>

o        Dynamically create a new component. 'Event' is broadcasted to the whole page hierarchy'.<o:p></o:p>

6.       Post Data Loading<o:p></o:p>

o        Dynamically created components from 'Onload' event can load data submitted by the user.<o:p></o:p>

7.       Raising Post Data Changed Events<o:p></o:p>

o        If a component's data has changed, raise related events signaling the change. Such as 'OnTextChanged'<o:p></o:p>

8.       Input Validation<o:p></o:p>

o        Validators registered with the page components will be executed.<o:p></o:p>

9.       Postback Event<o:p></o:p>

o        A postback event is raised by the event sender. Such as TButton with a OnClick event.<o:p></o:p>

10.   OnPreRender Event (Broadcast)<o:p></o:p>

o        (Example override usability), (Note that the post data loaded) Posted data validation or GUI updates, such as running 'TWenControl::setCssClass()'. Event is broadcast to the Whole page hierarchy.<o:p></o:p>

11.   Viewstate Saving<o:p></o:p>

o        The viewstate of the page hierarchy is saved in persistent storage.<o:p></o:p>

12.   Page Rendering<o:p></o:p>

o        The page and its components are rendered recusively to the user.<o:p></o:p>

13.   OnUnload (Broadcast)<o:p></o:p>

o        Example Override Usability, Disconnect database connection, "Event is broadcast to the whole page hierarchy"<o:p></o:p>

Regards,<o:p></o:p>

Balaji Baskar

Blog me @ http://spaces.msn.com/members/bbaskar



Marriages are made in heaven, Draped at Bridal Asia. Check out!

View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to