ASP Dot net - Bits and Stuff
1. What is the sequence in which ASP.NET events are processed ? Following is the sequence in which the events occur : Page_Init. Page_Load. Control events. Page_Unload event. Page_Init event only occurs when first time the page is started, but Page_Load occurs in subsequent request of the page 2. In which event are the controls fully loaded ? Page_Load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that viewstate is not fully loaded during this event 3. How can we identify that the Page is PostBack? Page object has a “IsPostBack” property which can be checked to know that is the page posted back. 4. How does ASP.NET maintain state in between subsequent request? Refer caching chapter. Caching Concepts 5. What is event bubbling? Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. The...