I have an ASP.NET MVC 3 C#.NET web application and I want the Enter button to trigger a particular Save button on my form. How would I do that?
相关问题
- Entity Framework throws exception - Network Relate
- Slow loading first page - ASP.NET MVC
- How to do an inline style with asp.net mvc 3 razor
- How to access the System.ComponentModel.DataAnnota
- Validation Attribute get triggered two times
相关文章
- “Dynamic operations can only be performed in homog
- Change color of bars depending on value in Highcha
- How to get server path of physical path ?
- How to find the exceptions / errors when TryUpdate
- Google app script trigger not working
- ASP.Net MVC 3: optgroup support in Html.DropDownLi
- A circular reference was detected while serializin
- AccessViolationException was unhandled
What I would do is utilize JavaScript for this one. Handle the
onkeypress
even of the form. Like so:Then your
yourKeyPressFunction()
would look something like this: