steve gray 8/9/2011 7:05:02 AM

How to Create a Default 'Enter' Button

How to Create a Default 'Enter' Button

ASP.NET 2.0 introduces the concept of a "default button". The new defaultbutton attribute can be used with a <form> or <asp:panel> control. What button will be "clicked" depends on where the cursor acutally is and what button is choosen as a default button for the form or a panel.

Here is sample HTML code that contains one form and one panel control:


Version: Unknown or N/A
Section: .NET Development

Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables