(5)Load The important thing to note about this event is the fact that by now, the page has been restored to its previous state in case of postbacks. Code inside the page load event typically checks for PostBack and then sets control properties appropriately. This method is typically used for most code, since this is the first place in the page lifecycle that all values are restored. Most code checks the value of IsPostBack to avoid unnecessarily resetting state. You may also wish to call Validate and check the value of IsValid in this method. You can also create dynamic controls in this method.
Similar Topics:
- Microsoft Sharepoint persisting webpart property values
- Asp.net file compression using opensource library
- Javascript Treeview Checkbox Check All function
- Concept of OOPS in C#
- Singleton pattern – Design pattern
- Enabling IIS6 HTTP compression on SharePoint dynamic page
- Email asp net Sending email using godaddy hosting account
- Microsoft Sharepoint SystemUpdate and Update using object model
- Outlook Web Access corrupts HTML attachments
- Asp.net sending email with zip file as attachment