Why Unload event of MasterPage Calls first in ASP.net ?



Why Unload event of MasterPage Calls first in ASP.net ?..

Answer / Manoj Kumar Verma

The Unload event of a MasterPage is called before the content pages' events because the MasterPage instance is unloaded first to ensure that any resources it uses are released back to the system. This allows for efficient memory management and prevents potential issues caused by holding onto resources longer than necessary.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.

1 Answers  


How do I use a proxy server when invoking a web service?

1 Answers  


how can u create the blog in asp.net with C#?what is the data type u will use to store in sql server?

0 Answers   IBM,


Difference between server.Execute and response.redirect ?

5 Answers   Accenture, Keane India Ltd,


Explain what is the procedure to create the environment for asp.net? : asp.net mvc

1 Answers  


What is the difference between appsetting and connectionstring tags in web.config file

2 Answers   HCL, TCS,


Explain an object, class and method.

1 Answers  


What is the life cycle of an asp.net page?

1 Answers  


Define the term Web Garden?

1 Answers   Sans Pareil IT Services,


What are the new data controls in asp.net 2.0?

1 Answers  


Can i have both C# and vb.net code in same assembly?how?

5 Answers   Wipro,


What is the server of asp.net?

1 Answers  


Categories