使用keyBoard ShortCut键打开Asp.net菜单项 [英] opening Asp.net Menu Items using keyBoard ShortCut keys
问题描述
我想通过使用应用程序中的键盘快捷键来打开asp.net菜单项,例如用户是否想打开 Master ---->.添加用户
页面,然后他可以使用任何快捷键快捷方式(例如 ctrl + A 或 alt + A )打开..
如何在asp.net应用程序中执行此操作,请提供解决方案
在此先感谢
Hi,
I wants to open the asp.net menu item by using the keybord shortcut keys in my application such as if user wants to open the Master ----> Add user
page then he can open by using the any keybord shortcut key means such as ctrl + A or alt + A ..
how to do it in asp.net application please provide a solution
thanks in advance
推荐答案
尝试以下操作:- ^ ]
Try this one :- http://www.beansoftware.com/ASP.NET-Tutorials/Keyboard-Shortcut.aspx[^]
你好,
本文可能会有所帮助.
有关如何将ASP.NET水平菜单控件与访问键和目标窗口组合在一起的文章支持. [^ ]
Hello,
This article might help.
An article on how to put together an ASP.NET horizontal menu control with access key and target window support.[^]
是的,但是它是详尽无遗的.这是一个骨架-
yes you can but it will be exhaustive.here is a skeleton -
document.onkeydown = function(evt)
{
evt = evt || window.event;
if (evt.keyCode == 37)
{
//do something
}
else if (evt.keyCode == 38)
{
//do something
}
else if (evt.keyCode == 39)
{
//do something
}
else if (evt.keyCode == 40)
{
//do something
}
};
并且有很多第三方工具可以完成此任务,例如超级鱼,Suckerfish Dropdowns.
http://www.adipalaz.com/experiments/css/accessible_ddmenu_test.html [ ^ ]
and there is lots of thirdpart tools to acheive this task like superfish, Suckerfish Dropdowns .
http://www.adipalaz.com/experiments/css/accessible_ddmenu_test.html[^]
这篇关于使用keyBoard ShortCut键打开Asp.net菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!