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

Scripts and Special Tags

3 Answers 69 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Steven Bausek
Top achievements
Rank 1
Steven Bausek asked on 09 Feb 2009, 09:30 PM
I am trying to get the Full Featured RadEditor for SharePoint to allow special tags and scripts.  I have a simple onclick statement to add to a DIV tag <div onclick="">.  The editor continues to strip this out.  I have read the documentation and have added the AllowScripts = true to the Config.XML file and also added the property AllowSpecialTags = true to the Page Layout that contains the RadEditor.  Am I missing something?

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 11 Feb 2009, 11:37 AM
Hello Steven,

In what scenario are you using the RadEditor?

You should know that in SharePoint forms scenario (Lists, Wikis, Blogs, etc.) you cannot use Javascript. There RadEditor does not have control over the presentation view which means that we cannot control the output when it is not in edit mode.

Greetings,
Stanimir
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michelle Spear
Top achievements
Rank 1
answered on 05 Jun 2009, 03:29 PM
I have the same issue, I'm using Telerik.SharePoint.FieldEditor in a MOSS publishing site (page layout).

Is there some way I can work around?

Thanks,
Gary
0
Stanimir
Telerik team
answered on 08 Jun 2009, 07:18 AM
Hello Michelle Spear,

Unfortunately there is no RadEditor's setting that you can use to work around the issue. The problem is that after the content of the RadEditor has been sent to the MOSS server, some content filters are applied over it and they are responsible for stripping the attributes. RadEditor has no control over these filters.


Sincerely yours,
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
Steven Bausek
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Michelle Spear
Top achievements
Rank 1
Share this question
or