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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only