简体   繁体   English

ASP.NET:功能键快捷键?

[英]ASP.NET: Function key shortcuts?

I recently participated a project that replaced a mainframe system with a web (asp.net 2.0, VS2005) system. 我最近参与了一个用web(asp.net 2.0,VS2005)系统取代大型机系统的项目。
The 3270-terminals are still much used and I respect the IMS/CICS/Cobol application designers for their work. 3270终端仍然使用得很多,我尊重IMS / CICS / Cobol应用程序设计师的工作。

Users like the web application, but one thing they keep ask for is: 用户喜欢Web应用程序,但他们要求的一件事是:
Functionkeys and shortcuts that navigates directly to different web forms. 功能键和快捷键,可直接导航到不同的Web表单。

Do you know a way to implement function key shortcuts in asp.net that will be like 3270 function key actions? 您是否知道在asp.net中实现功能键快捷键的方法,就像3270功能键操作一样?

We are using asp:menu as a content in master-page, but asp:item does not support the accesskey attribute: 我们使用asp:menu作为master-page中的内容,但是asp:item不支持accesskey属性:

<asp:SiteMapDataSource ID="_siteMapDataSource" runat="server"  ShowStartingNode="False" />

<asp:Menu ID="Menu1" runat="server"  DataSourceID="_siteMapDataSource" Orientation="Horizontal">
</asp:Menu>

Update: 24.jan 09: I liked @John Sheehan answer. 更新:24.jan 09:我喜欢@John Sheehan回答。 Will implement it with the jQuery support in ASP.Net 3.5 SP1 将使用ASP.Net 3.5 SP1中的jQuery支持实现它

There is nothing specific to ASP.NET for this since you would need to handle it with JavaScript. ASP.NET没有特定的功能,因为您需要使用JavaScript来处理它。 The easiest way would be to use a jQuery plugin like js-hotkeys 最简单的方法是使用像js-hotkeys这样的jQuery插件

你可以看一下accesskey属性......

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM