Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 28th, 2006, 07:02 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal
Default Creating ContextMenu in Asp.net using c#?

Hi..

  How to create a contextMenu control in ASP.NET 2.0 using c#? As windows applications have a context menu control, is it possible to get a similar functionality in Web based applications alos?

Please help


 
Old November 28th, 2006, 04:07 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

In code on the page itself, as rendered at the browser, the event object has properties that can be assessed to see whether the right mouse button has been clicked (and at what location that happened, as well). You can intercept right mouse clicks, thereby defeating the built-in context menus, or you can process them, then allowing bubbling to cause the standard context menu to appear after your processing.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a MessageBox in Asp.Net ScepterMT ASP.NET 2.0 Basics 3 March 24th, 2008 01:01 PM
Creating a web service in ASP.NET sanjeet General .NET 1 September 14th, 2005 02:46 PM
Creating an ASP.Net Application in VS.Net Maxood BOOK: Beginning ASP.NET 1.0 11 July 6th, 2004 03:09 PM
Creating Setup in ASP.net schilkoti General .NET 0 April 14th, 2004 06:53 AM
Creating ASP.NET Application in Visual Studio.NET Maxood ASP.NET 1.0 and 1.1 Basics 1 March 8th, 2004 01:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.