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

RadEditor remove context menu for links

1 Answer 78 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
DavidBLP
Top achievements
Rank 1
DavidBLP asked on 19 Jun 2009, 11:32 AM
Hi,

I am using the RadEditor in MOSS and would like to replace the standard Link Manager with my own. I have created a toolbar button that loads my link manager, and now I need to replace the right click context menu for links with my own, or failing this remove the context menu for links.

I have updated the <contextMenus> section of the ListToolsFile.xml to add the following:

        <contextMenu forElement="A">  
            <tool name="MyLinkManager"/>  
        </contextMenu> 

however this seems to have no effect and the standard context link menu is displayed. Trying to remove the context menu entirely also seems to have no effect.

<contextMenu forElement="A" enabled="false">  
</contextMenu> 

Amendments to the <tools> section does work so I know I am editing the correct file

I have RadEditor version 5.0.0

Thanks

1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 22 Jun 2009, 01:22 PM
Hello DavidBLP,

Could you please confirm that you are modifying the correct ToolsFile.xml. You should know that in web part and WCM scenario you should modify the respective ToolsFile.xml and for forms scenario, such as list, wiki, blog, you need to modify the respective ListToolsFile.xml.

I tested the issue in the latest version of RadEditor for MOSS, which is 5.4.1 and I was not able to reproduce it. Please consider upgrading to it. You can find instructions in the following help article http://www.telerik.com/help/aspnet-ajax/upgrade_to_a_newer_version_of_radeditor_for_moss.html.

If you are still experiencing any problems after the update, we will be glad to help you further.


Regards,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
DavidBLP
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or