Welcome to Dream.In.Code
Become an Expert!

Join 150,102 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,842 people online right now. Registration is fast and FREE... Join Now!




EventProcedure in code

 
Reply to this topicStart new topic

EventProcedure in code

Footsie
23 Jun, 2008 - 12:10 PM
Post #1

D.I.C Regular
Group Icon

Joined: 20 Sep, 2007
Posts: 308



Thanked: 4 times
Dream Kudos: 50
My Contributions
Usually I would add an event procedure to a button by double clicking that button and allowing Visual Studio (2005) to create it for me.

I've been reading up on how to do it just using code but the book I'm reading says that I must look in the InitializeComponent method in the code-behind page, to see how the binding works. It also says I must expand the "Web Form Designer generated code" section in the code window.

I can't find this method or the designer generated code. Maybe this was a change between Visual Studio 2003 and 2005? I successfully managed to create an event-procedure from code but without the InitializeComponent method.

Anybody know if this was a change between versions?
Or what am I missing?

Thanks.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 12:42AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month