Click here to Skip to main content
15,895,538 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
Any one please provide one small sample of mvc4 html5 textbox keypress event call C# method.
Posted
Comments
Jameel VM 21-Oct-13 13:28pm    
did you try javascript and jquery?

1 solution

HTML
@Html.TextBox("txtbx1", "", new { onkeydown="MyFunction();" } )
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900