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

Get all contextmenus

1 Answer 42 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Niclas Ahlqvist
Top achievements
Rank 1
Niclas Ahlqvist asked on 16 Jan 2012, 08:50 AM
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?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Jan 2012, 09:22 AM
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
Tags
Editor
Asked by
Niclas Ahlqvist
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or