Get all contextmenus

2 posts, 0 answers
  1. Niclas Ahlqvist
    Niclas Ahlqvist avatar
    20 posts
    Member since:
    Nov 2008

    Posted 16 Jan 2012 Link to this post

    Hi!

    I wonder if theres a way to get all contextmenus in the editor?
    Ive seen a demo where you can get a contextmenu by tagname. But I need all context menus.

    I have users that can insert articles (some html) generated from RSS into the editor via a custom dialog.

    I want to catch the contextmenu clicks within my rssarticle html tag. And change the normal contextmenu for an image to a context menu for the rss article with items like "Edit", "Remove". And I dont want to hard code to override contextmenus A,P,H1,TD etc. I must override all contextmenus within an article.

    Is there a way to find out if a contextmenu clicks originates from within another tag?
  2. Rumen
    Admin
    Rumen avatar
    14432 posts

    Posted 16 Jan 2012 Link to this post

    Hello,

    Please, see the following forum thread on the subject: How to add a ContextMenu item dynamically.

    All the best,
    Rumen
    the Telerik team
    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 their blog feed now
Back to Top