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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement