what is PrePageExecute() event

 Posted by Blessybaby on 1/20/2010 | Category: ASP.NET Interview questions | Views: 4239

By overrriding the PrePageExecute Method you can subscribe to the page's InitComplete Event and inject dependencies into any UserControl's found on the page at that time. Since the MasterPage is a UserControl, this includes the MasterPage as well if there is one.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response