Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Command Button
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00838919
Message ID:
00838942
Vues:
18
Cathi,

Isn't there just some javascript that will set a default button? Or am I hallucinating? <g>

~~Bonnie


>Hi Mindy,
>
>Here is a link to a free control to use that gives the functionality you are looking for:
>
>http://www.metabuilders.com/tools/DefaultButtons.aspx
>
>
>>If I tab through the controls on my form and hit the Enter key while on a Submit button, it automatically accepts a Click of the Cancel button. The Cancel button on my form seems to be the default click whenever the Enter key is pressed no matter where the focus is at. Is there a property to use? Do I need to create a new default button on my form and set visible=false so the Cancel isn't clicked when Enter is hit? What determines a button to be "default"?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform