But the List-Control does not support images and tables! There are no such symbols in the toolbox available nor does Ctrl G for inserting images work (Could not find file "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadWebParts\2.0.1.0__1f131a624888eeed\RadControls\Editor\Controls\ImagePreviewer.ascx)
Is there a fix for these problems? Thank you very much.
13 Answers, 1 is accepted
Hello Crispin,
Some editing tools have been disabled (hidden) in certain scenarios (such as r.a.d.editor in list items) due to SharePoint security restrictions. At runtime, SharePoint strips the HTML generated by those tools prior to saving the content. Affected tools are Image/Flash/Media/Table insertion tools and HyperLink Manager. We've chosen to hide those tools so the users don't get confused why their tables are removed after saving. You can read more info online here http://www.sharepointcontrols.com/help/radeditor/2.0/Restrictions.html
Unfortunately we are not aware of any way how to circumvent those restrictions.
Albert
the telerik team
Hello,
Unfortunately there is no known way around this. As Albert mentioned, Sharepoint removes the generated HTML for tables and images. The tools are only disabled to prevent confusion.
We are looking for a way to modify Sharepoint's behavior when saving HTML. Once we find a method that works, it will be implemented in the editor and we will let you guys know about it.
Kind regards,
Digibo
the telerik team
I've just trying to use Rad editor in my webpart. It works. However I have some questions:
- to make it work, I must copy folder RadControls from C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadWebParts\2.0.1.0__1f131a624888eeed\ to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\LAYOUTS and set RadControlsDir = "~/_layouts/RadControls". Why that?
- How can i enable Image Manager function (or other funcions like this function) of Rad Editor in my webpart?
Many thanks for you support!
Hello Thinh,
Are you using the r.a.d.editor Sharepoint WebPart or are you creating your own WebPart?
If you are using our WebPart, it should locate the RadControlsDir without setting the property to a specific path. In addition, when using r.a.d.editor Sharepoint Edition as a Web Part, the Image Manager (and other Managers) should be visible and functional. As explained in previous posts, it is disabled only in specific cases to prevent confusion.
In case you are creating your own WebPart using r.a.d.editor, please be more specific about the problems you are encountering and the features you are trying to implement.
All the best,Digibo
the telerik team
I'm using r.a.d Editor in my custom webpart. Table function works well. But when I click on Image manager it show a dialog with following message:
"Could not find the command SharePoint/ImageManager. Please update your command list".
I tried to apply some solution that was posted in this forum ex: add javascript to page: RadControls/EditorWebPart/Scripts/2_0_1/EditorCommands.js
and in thread "Flash/Media/Attachment managers fails". But it allway show the same message as before.
Thanks for your support!
If you are creating your own web part, it's recommended to base it on the standard r.a.d.editor as some of the files in the RadControls folder of our web part are customised to work with r.a.d.editor SharePoint Edition. These internal changes are probably the cause of your current issues and may be an even bigger obstacle in the future.
Sincerely yours,
Digibo
the telerik team
If you want to use the r.a.d.editor as a content editor in SharePoint, it's best to use the Web Part provided by telerik (r.a.d.editor SharePoint Edition).
If your case requires different functionality, you should create a custom Web Part that uses the regular r.a.d.editor control.
You can find more information on Web Part creation here http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/dnofftalk/html/office07012004.asp and here http://www.devx.com/dotnet/Article/17518/0/page/1.
Examples of r.a.d.editor can be found at www.telerik.com/r.a.d.editor and the docs are available at www.telerik.com/help/.
If you have more specific questions, feel free to contact us again.
Kind regards,
Dimitar Milushev
the telerik team
"We are looking for a way to modify Sharepoint's behavior when saving HTML. Once we find a method that works, it will be implemented in the editor and we will let you guys know about it."
Greetings,
Ron Lagerwaard
Do you really have a workaround or are you just joking?
Greetings,
Ron
r.a.d.editor is only responsible for saving the contents of a list item. The workaround will not work, because if the HTML is encoded by r.a.d.editor, SharePoint will not decode the content when displaying it later.
Sincerely yours,
the telerik team