ASP.NET - How to create a right click menu in asp.net MVC3

Asked By Sameer Khan
04-Feb-12 12:35 AM
Hi,
My application is in Asp.Net MVC3 coded in C#.Net.
I want to create a right click menu in my application. When a user right clicks on a certain TextBox then a certain menu should show.And when the user right clicks on any other textbox or anyother area then the normal windows right click options should show.
Is there a free Jquery available for this.Or how is it possible for me to do this.
Please guide.
  [)ia6l0 iii replied to Sameer Khan
05-Feb-12 09:55 AM
Yes. You should use jQuery/Dojo frameworks to build the context menu.   

I am not sure about Dojo. However, I know one plugin in jQuery (old but still works for most of my use cases). It is called jQuery Context Menu plugin. 

You can find more info about the plugin in its http://www.abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/#demo. And http://labs.abeautifulsite.net/archived/jquery-contextMenu/jquery.contextMenu-1.01.zip is the download link. 

Have a good time.
Create New Account
help
Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B)What is an IL? (B difference between VB.NET and C#? (I) what is the difference between System exceptions and Application exceptions? (I)What is CODE Access security? (I)What is a satellite assembly? (A) How the difference between thread and process? Chapter 4: Remoting and Webservices (B)What is an application domain? (B) What is .NET Remoting? (B) Which class does the remote object has to consume it? (A) Do webservice have state? Chapter 5: Caching Concepts (B) What is an application object? (I) what is the difference between Cache object and application object? (I) How can get access to cache object? (A) What are dependencies in cache A) What is scavenging? (B) What are different types of caching using cache object of ASP.NET? (B) How can you cache different version of same page using ASP.NET cache object
faqs on masterpages Hi all, can anybody tell me the FAQs on Masterpages in asp.net. Thanks alot var Hi What are Master Pages in ASP.NET? or What is a Master Page? ASP.NET master pages allow you to create a consistent layout for the pages in your application. A single master page defines the look and feel and standard behavior that you want for all of the pages (or a group of pages) in your application. You can then create individual content pages that contain the content you want to display
is that this would be the same code to write if we were writing any ASP.NET webpage, you can even use the Ajax controls in the toolbox. In the next section these styles will be displayed the same way in the Web Part in SharePoint. image Right-click on the designer to open the code-behind. In the Page_Load event handler we’ll Deployment Command: Skipping deployment step because a pre-deployment command is not specified. Recycle IIS Application Pool: Skipping application pool recycle because no matching package on the server was found. Retract Solution: Skipping package in the upper left, then Edit Page. Select the Insert tab on the Ribbon and click Web Part. Select the Custom category and you should see your web part. Select it and click Add on the bottom right of the section. image At this point you should hit
context menu I want to add a right click context menu or menus to my web application. I have a table. the left is a tree view the right top cell is a tab container holding 4 panels 2 of which have gridviews. The
use of ajax in asp.net Helo friends I am making an asp.net web application. . i want to use ajax control toolkit in visual studio2008. . plz refer me any step by step procedure. . Its easy to use Ajax in Asp.Net; The AJAX Control Toolkit is an open source project developed by the members of the ASP.NET community and the ASP.NET team. The AJAX Control Toolkit is hosted at CodePlex