Where is Page_Load in Whidbey?

  • Thread starter Thread starter mt
  • Start date Start date
M

mt

Where can I access the Page_Load event in Whidbey for a
C# ASP.NET website? Since the partial class has been
introduced, I'm not sure where I should be putting page
load events.

Thanks very much!
 
mt said:
Where can I access the Page_Load event in Whidbey for a
C# ASP.NET website? Since the partial class has been
introduced, I'm not sure where I should be putting page
load events.

If you double-click on the Default.aspx in Whidbey in design-mode the
Page_Load-Method will be created in the Default.aspx.cs-codebehind.file.

Cheers

Arne Janning
 
Thanks Arne. I see the Page_Load when I do that in
VS.NET 2003, but not Whidbey. In Whidbey, all I see is
the 'using' classes, and a public partial class
Default_aspx, but no Page_Load method. I'm assuming this
is found in the other part file that contains the rest of
this class (since Whidbey now uses partial classes), but
I can't seem to find that file.

Thanks again.
 
Back
Top