This is a migrated thread and some comments may be shown as answers.

Custom RadContext Menu?

2 Answers 43 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 17 Oct 2013, 09:17 PM
Is it possible to have custom actions with a RadContextMenu?  I am using a RadTreeView and if the user were to right click to get the RadContextMenu, it would allow them to add that selected item to their "favorites" (a value that we would store in the database?  This way when they load the application again it would have already loaded their favorites.

2 Answers, 1 is accepted

Sort by
0
Accepted
Bozhidar
Telerik team
answered on 22 Oct 2013, 08:27 AM
Hi Kurt,

By default all actions in the ContextMenu integrated in RadTreeView are custom. You declare the items of the ContextMenu, and then you handle the ContextMenuItemClick event either on the client or the server, where you implement whichever functionality you need. The following help articles explain in detail how to properly set up your ContextMenu:
http://www.telerik.com/help/aspnet-ajax/treeview-context-menu-overview.html
http://www.telerik.com/help/aspnet-ajax/treeview-context-menu-design.html

 

Regards,
Bozhidar
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Kurt Kluth
Top achievements
Rank 1
answered on 22 Oct 2013, 03:15 PM
Wow.  Thank you that is exactly what I needed to get this requirement accomplished.
Tags
Menu
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Kurt Kluth
Top achievements
Rank 1
Share this question
or