Web应用程序中的快捷键 [英] Short Cut Keys in Web Application

查看:76
本文介绍了Web应用程序中的快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想为我的应用程序创建一些快捷方式.

示例:如果在运行应用程序时单击ctrl + H,则应打开主页,
同样,如果我单击ctrl + H,则应重定向到其他页面等,

任何建议和帮助都很棒.

我对此一无所知.
如果您有任何链接或资料可以从我那里获得帮助,请告诉我...

在此先感谢

Anupama Bommaraju

Hi,

I want to create some shortcuts to my application.

Example: While running my application if i click ctrl+H it should open Home page,
similarly if i click ctrl+H it should redirect to another page etc.,

any suggestions and help is great.

I don''t have any idea about this..
Do let me know if you have any links or materials from where i can get some help...

Thanks in Advance

Anupama Bommaraju

推荐答案

AccessKey属性可用于所有从WebControl派生的控件,例如 WebControl.AccessKey [ http://en.wikipedia.org/wiki/Access_key [
The AccessKey property is available for all controls derived from WebControl like Button[^]
WebControl.AccessKey[^]

Some more info here:
http://en.wikipedia.org/wiki/Access_key[^]

Regards
Espen Harlinn


http://forums.asp.net/t/1552843 .aspx/1 [ ^ ]

希望以上信息对您有所帮助.如果您还有其他疑问,请告诉我.
http://forums.asp.net/t/1552843.aspx/1[^]

I hope the above information will be helpful. If you have more concerns, please let me know.


Javascript也将为您提供此功能.

在Javascript中使用键盘快捷键 [使用JavaScript处理键盘快捷键 [用于事件处理的Javascript KeyCode参考表 [热键 [ ^ ](跨浏览器jQuery插件)
Also Javascript will help you for this feature.

Using keyboard shortcuts in Javascript[^]

Handling Keyboard Shortcuts in JavaScript[^]

Javascript KeyCode Reference table for Event Handling[^]

HotKeys[^] (Cross browser jQuery plugin)


这篇关于Web应用程序中的快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆