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

[Solved] Images and Tables

13 Answers 99 Views
RadEditor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Crispin Derungs
Top achievements
Rank 1
Crispin Derungs asked on 04 Apr 2006, 02:34 PM
We just installed the latest Trial Version. The r.a.d Editor WebPart works fine, it looks very nice! We think it helps us!

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

Sort by
0
Atanas Korchev
Telerik team
answered on 05 Apr 2006, 08:59 AM

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.

Regards,
Albert
the telerik team
0
NickName
Top achievements
Rank 1
answered on 05 Jun 2006, 06:21 PM
I liked your product ... but due to these restrictions i wont be able to use it as i need to put images and tables in the lists. Is there any other way ?
0
Dimitar Milushev
Telerik team
answered on 06 Jun 2006, 10:12 AM

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
0
thinhtt
Top achievements
Rank 1
answered on 25 Sep 2006, 09:14 AM
Hi,
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!
0
Dimitar Milushev
Telerik team
answered on 26 Sep 2006, 11:44 AM

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
0
thinhtt
Top achievements
Rank 1
answered on 28 Sep 2006, 09:09 AM
Hi,
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! 
 
0
Dimitar Milushev
Telerik team
answered on 29 Sep 2006, 05:08 PM
Hi thinh,

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
0
thinhtt
Top achievements
Rank 1
answered on 30 Sep 2006, 03:58 AM
I'm using rad Editor sharepoint edition because i  want to deploy this webpart in SP portal site. How can i using standard editon in my webpart?
0
Dimitar Milushev
Telerik team
answered on 03 Oct 2006, 05:18 PM
Hi thinh,

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
0
Ron Lagerwaard
Top achievements
Rank 1
answered on 16 Nov 2006, 07:42 AM
Is there any progress about the following:

"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
0
thinhtt
Top achievements
Rank 1
answered on 16 Nov 2006, 08:39 AM
You can encode this HTML before save and decode when display :)
0
Ron Lagerwaard
Top achievements
Rank 1
answered on 17 Nov 2006, 09:14 AM
Hello Thinhtt,

Do you really have a workaround or are you just joking?


Greetings,
Ron
0
Dimitar Milushev
Telerik team
answered on 20 Nov 2006, 04:23 PM


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,

Dimitar Milushev
the telerik team

Tags
RadEditor
Asked by
Crispin Derungs
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
NickName
Top achievements
Rank 1
Dimitar Milushev
Telerik team
thinhtt
Top achievements
Rank 1
Ron Lagerwaard
Top achievements
Rank 1
Share this question
or