[英]How to add keyboard shortcuts in ASP.NET for Focus / ButtonClicks
How can I add some keyboard shortcuts (ctrl/alt/shift + something) to focus textboxes and/or perform button clicks? 如何添加一些键盘快捷键(Ctrl / Alt / Shift +其他键)以使文本框聚焦和/或单击按钮?
And, ss it possible to have a Keyboard shortcut to call some method in my .cs code-behind? 而且,SS是否可能具有键盘快捷方式以在我的.cs代码后面调用某些方法?
Can anyone me tell me how? 我能告诉我如何吗?
This needs to be implemented with javascript, I would recommend jQuery. 这需要用javascript实现,我建议使用jQuery。 If you google jQuery hotkeys or jQuery keyboard shortcuts etc you should find alot of articles on this.
如果您使用google jQuery热键或jQuery键盘快捷键等,则应在此找到很多文章。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.