where do page_load and page_loadcomplete methods come from?

  • Thread starter Thread starter Steve Richter
  • Start date Start date
S

Steve Richter

how do methods in like Page_Load and Page_LoadComplete get
automatically wired up to hook their corresponding page events? I
dont see them in the MSDN documentation of the System.Web.UI.Page
class.

thanks,

-Steve
 
Hi,

They do if AutoEventWireUp on @Page directive is set to true

See ASP.NEt Web Server Control Event Modelhttp://msdn2.microsoft.com/en-us/library/y3bwdsh3.aspx

Especially section "Binding Page events"

good article. thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top