Avatar of arthrex
arthrexFlag for Germany

asked on 

VS2005 Possible to automatically generate event method body?

Hi experts,

I develop asp.net apps in VS2005. What really bothers me is when I write my ASP controls with their events:

i.e.
<asp:Button ID="btn" runat="server" OnClick="btn_Click"/>

that I always have to write the standard event method body in the code behind:

protected void btn_Click (object sender, EventArgs e)

Is there a way to automatically generate the event method body without using the design view?
.NET Programming

Avatar of undefined
Last Comment
ororiole
ASKER CERTIFIED SOLUTION
Avatar of ororiole
ororiole
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo