The easiest way is to put the fields and button inside of a Panel and set the default button to the button you want to be activated on enter.
<asp:Panel ID="p" runat="server" DefaultButton="myButton">
<%-- Text boxes here --%>
<asp:Button ID="myButton" runat="server" />
</asp:Panel>
More Related Contents:
- how to access master page control from content page
- Proper way to use JQuery when using MasterPages in ASP.NET?
- How do I import a namespace in Razor View Page?
- What is the difference between ‘classic’ and ‘integrated’ pipeline mode in IIS7?
- FormsAuthentication.SignOut() does not log the user out
- Asp.NET Web API – 405 – HTTP verb used to access this page is not allowed – how to set handler mappings
- What is the “Temporary ASP.NET Files” folder for?
- Cannot read configuration file due to insufficient permissions
- How to Publish Web with msbuild?
- How to set the Default Page in ASP.NET?
- How to use jQuery to call an ASP.NET web service?
- How to programmatically clear outputcache for controller action method
- Forms Authentication Timeout vs Session Timeout
- Error – SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM
- Unable to start debugging on the web server. Could not start ASP.NET debugging VS 2010, II7, Win 7 x64
- Can you recommend a .net template engine? [closed]
- IIS URL Rewrite and Web.config
- CustomErrors does not work when setting redirectMode=”ResponseRewrite”
- Best way to implement a 404 in ASP.NET
- “The system cannot find the file specified”
- Allow access for unathenticated users to specific page using ASP.Net Forms Authentication
- HttpServerUtility.UrlPathEncode vs HttpServerUtility.UrlEncode
- How to implement oauth2 server in ASP.NET MVC 5 and WEB API 2 [closed]
- How to decode viewstate
- IIS application using application pool identity loses primary token?
- ASP.NET 2.5 prefixing ctl00 and ASP.NET 4 not prefixing ctl00
- Difference between HttpRuntime.Cache and HttpContext.Current.Cache?
- Difference between AutoPostBack=True and AutoPostBack=False?
- Change User Id type to int in ASP.NET Identity in VS2015
- Value cannot be null. Parameter name: items (DrodownList)