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

Link Light - Context Menu

1 Answer 58 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 29 Jan 2011, 12:02 AM
Hi! I have set up the editor with the Link-Light button, everything works as planned.  I also hid the All Properties button on that dialog since we dont want to give our users the richness of the Link Manager dialog.

When I right click on a link, I can conveniently remove the link, but I also get this "Properties..." option that will take me to the Link Manager. How can I make the Properties... option within the context menu take me to the LightLink dialog?

Thanks,
Ricardo.

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 31 Jan 2011, 01:17 PM
Hi Ricardo,

In order to change the dialog that is opened from the link's context menu you need to customize the RadEditor's default context menus. More information on how to achieve this is available in the following help article:
Context Menus

In addition, you can modify the Properties context menu item in the code-behind, e.g.:
RadEditor1.EnsureToolsFileLoaded();
 
RadEditor1.ContextMenus.FindByTagName("A").Tools[0].Name = "InsertLink";
RadEditor1.ContextMenus.FindByTagName("A").Tools[0].Text = "Properties";


Best wishes,
Dobromir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or