Custom RadContext Menu?

3 posts, 1 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 17 Oct 2013 Link to this post

    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. Answer
    Bozhidar
    Admin
    Bozhidar avatar
    1103 posts

    Posted 22 Oct 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kurt Kluth
    Kurt Kluth avatar
    144 posts
    Member since:
    Oct 2009

    Posted 22 Oct 2013 Link to this post

    Wow.  Thank you that is exactly what I needed to get this requirement accomplished.
Back to Top