首页> 外文期刊>MSDN Magazine >Adding a Context Menu to ASP.NET Controls
【24h】

Adding a Context Menu to ASP.NET Controls

机译:将上下文菜单添加到ASP.NET控件

获取原文
获取原文并翻译 | 示例

摘要

A lthough the context menu is a common element of most desk-top applications, it is still fairly uncommon in Web application names because it doesn't map well to a server-based technology like ASP.NET. To get context menu functionality, your browser needs strong DHTML support and a rich eventing model, both of which you get in Microsoft~(~R) Internet Explorer 5.0 and newer versions, as well as in Netscape 6.0 and others. However, the various browsers' object models, although nearly identical in functionality, feature different members and names, and require you to map events and objects from one model to the other. In this column, I'll create an ASP.NET context menu that addresses the Internet Explorer object model. Along the way, I'll call out features that can work with other browsers with some modifications. The code download for this column works with ASP.NET 1.x, but can be compiled under ASP.NET 2.0 Beta 1 as well.
机译:尽管上下文菜单是大多数桌面应用程序的常见元素,但在Web应用程序名称中仍然很少见,因为它不能很好地映射到ASP.NET等基于服务器的技术。要获得上下文菜单功能,您的浏览器需要强大的DHTML支持和丰富的事件模型,您都可以在Microsoft〜(〜R)Internet Explorer 5.0和更高版本以及Netscape 6.0和其他版本中获得这两种功能。但是,各种浏览器的对象模型虽然功能几乎相同,但具有不同的成员和名称,并且要求您将事件和对象从一个模型映射到另一个模型。在本专栏中,我将创建一个用于处理Internet Explorer对象模型的ASP.NET上下文菜单。在此过程中,我将通过一些修改来介绍可以与其他浏览器一起使用的功能。本专栏的代码下载可与ASP.NET 1.x一起使用,但也可以在ASP.NET 2.0 Beta 1下进行编译。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号