Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining Control Events
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01433870
Message ID:
01433882
Vues:
34
>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?

IMHO, the first method is the easiest.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform