Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting a default command button
Message
De
29/07/2003 11:38:35
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
29/07/2003 05:44:03
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00814142
Message ID:
00814549
Vues:
13
I see the AcceptButton and CancelButton properties on WinForms, but I am creating a ASP.Net WebForm. How do you specify a default button in a ASP.Net WebForm?

Thanks,

Jerry



>Jerry,
>
>You do this from the form not the button. Use the forms AcceptButton (Enter key press) property and set it to the name of the button control to be used. If you want a default cancel (ESC key press) button then the form has a CancelButton property that works in the same way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform