473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Where is Page_Load in Whidbey?

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!
Nov 16 '05 #1
3 1309
"mt" <ta********@hotmail.com> schrieb
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
Nov 16 '05 #2
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.
-----Original Message-----
"mt" <ta********@hotmail.com> schrieb
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 thePage_Load-Method will be created in the Default.aspx.cs- codebehind.file.
Cheers

Arne Janning
.

Nov 16 '05 #3
an*******@discussions.microsoft.com wrote:
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.


http://msdn.microsoft.com/library/de.../Internals.asp

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: rawCoder | last post by:
Is there any provision for creating winform applications that have dockable windows ( Like the VS.NET IDE ) in whidbey ? I just installed the beta and cant seem to find it. Am i asking for too...
29
by: Stefan Slapeta | last post by:
There have been many announciations that VC 8.0 will finally support two phase template lookup; now, after I installing VC 2005 Express I had to realize that it still doesn't! What has happend...
3
by: Doug Holland | last post by:
Hi There I just installed the PDC build of Whidbey onto Windows XP using the 'Web Developer' profile when I installed and was a little surprised to see that it is only ASP.NET projects that I...
7
by: Nimrod Cohen | last post by:
Hi During the page_load of my Aspx page "http://myMachine/MyWebApp/Quote.aspx" , i write to the response an html that embeds a form with the action pointing out to the same aspx page i.e...
7
by: Fresh Air Rider | last post by:
Hi I understand that ASP.net 2.0 (Whidbey) is going to reduce coding by 70%. Surely this is going to de-skill or dumb down the developers task and open up the task to less qualified and...
2
by: PinoyDotnet | last post by:
I am just starting 2.0, so I have this In ASPNET 1.X there is a method called InitializeComponent() which clearly wires in the Page_Load method to the Load event, like this: private void...
7
by: Genival Carvalho | last post by:
Hello friends... Inside my class how do to use explicit using Overloaded operator or use default ? Ex: Dim x as Integer = A + B ' Use default + operator Dim OV as integer = X + Z ' I will...
0
by: spamfurnace | last post by:
Will Whidbey have the features, of a girl i'd like to meet? Will Whidbey be easy to talk to, and rub my tired feet? Will Whidbey bats it eyes at me, and whisper "Baby, your so sweet". Will...
7
by: VB Programmer | last post by:
I've lost the Data Sources tab (in Whidbey). How can I make it reappear? I need to "Add New Data Source..." Thanks!
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.