Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defining Control Events
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Defining Control Events
Miscellaneous
Thread ID:
01433870
Message ID:
01433870
Views:
95
I'm looking at an ASP.Net book, and the author show's 3 ways to define the event that occurs when a Submit button is clicked:

1). Double click the button in the designer

2). Use the onserverclick="Convert_ServerClick" syntax in the control's tag

3). Use the MyButton.ServerClick += this.Some_Handler;

Is there a preffered method?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform