Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Command Button
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00838919
Message ID:
00838942
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform