We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Context Menu on ClientSideDoubleClickEvent (MVC)

Thread ID:

Created:

Updated:

Platform:

Replies:

97188 Nov 4,2010 10:56 PM UTC Nov 9,2010 07:16 AM UTC ASP.NET MVC (Classic) 1
loading
Tags: Grid
Eric
Asked On November 4, 2010 10:56 PM UTC

I'm attempting to add a context menu to my grid when a user double clicks (or even better - right clicks but I don't see a GridPropertiesModel property for this). I don't see any examples for handling a click event or for a context menu in an MVC grid. Could I get an example?
Thanks


Krishnaraj D [Syncfusion]
Replied On November 9, 2010 07:16 AM UTC

Hi Eric,

Thanks for your interest in Syncfusion Products.

Currently, we don’t have built-in support for context menu in Mvc Grid. However your requirement can be achieved using our Mvc Menu control.
Please refer the below code snippets.
<%=Html.Menu("ContextMenuContent").ContextMenuTargetId("Grid_ID").Mode(MenuModel.ModeType.ContextMenu)%>



Note: The “ContextMenuTargetId” should be ID of the Grid.

For more details about Syncfusion ContextMenu, please refer our online documentation in the below link.

http://help.syncfusion.com/ug_84/User%20Interface/ASP.NET%20MVC/Tools/default.htm?turl=contextmenumode.htm


Please let us know if you have any queries.

Regards,
Krishnaraj D





CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;