asp.net中的快捷键 [英] Short cut keys in asp.net
本文介绍了asp.net中的快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net Web应用程序中分配快捷键
的快捷键
按钮
菜单栏
文本框焦点
在此先感谢
Dineshkumar R
How assign the short cut key in asp.net web application
short cut keys for
buttons
menu bar
textbox focus
thanks in advance
Dineshkumar R
推荐答案
由于浏览器限制了某些快捷键,因此它们有一些限制.因此它不会像在应用程序中那样响应.
JavaScript和快捷键 [ http://www.openjs.com/scripts/events/keyboard_shortcuts/ [ http://www.scottklarr.com/topic/126 /how-to-create-ctrl-key-shortcuts-in-javascript/ [
their has some limitations because of the browser limiting some of the shortcut keys. Thus it will not respond as it is in the applications.
JavaScript and Shortcut Keys[^]
http://www.openjs.com/scripts/events/keyboard_shortcuts/[^]
http://www.scottklarr.com/topic/126/how-to-create-ctrl-key-shortcuts-in-javascript/[^]
尝试一下
ASP.NET中的键盘快捷键 [ ASP.NET键盘快捷键控件 [
Try this
Keyboard Shortcut in ASP.NET[^]
ASP.NET Keyboard Shortcut Controls [^]
EDIT
--------------------
AccessKey
is property to set shortcut key for controls.
<asp:Button AccessKey="S" ID="btnSubmit" runat="server">
现在按ALT + S
触发按钮.
您也可以将javascript用于同一任务.检查第一个链接.
Now press ALT + S
to trigger the button.
Also you can use the javascript for the same task. Check the first link.
这篇关于asp.net中的快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文