Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting a default command button
Message
From
29/07/2003 11:38:35
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00814142
Message ID:
00814549
Views:
12
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform