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

Issue with Reusable Content in Application Page

1 Answer 56 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Roger
Top achievements
Rank 1
Veteran
Roger asked on 07 Sep 2012, 12:49 PM
Hello

I am using RadEditor for SharePoint 2010 on an application page for editing HTML content of specific publishing pages (getting the value from field 'PublishingPageContent' of corresponding SPListItem and setting property Content of RadEditor control).

After saving HTML content everything looks alright on corresponding target page with following HTML in 'PublishingPageContent' (as an example):
<span class="ms-rtestate-read  ms-reusableTextView" id="__publishingReusableFragment">
Copyright&copy; 2012&nbsp;XXX - All
Rights Reserved
</
span>

But when opening page in "normal" edit mode or editing properties (in Pages library) the HTML gets transformed after saving:
<span id="__publishingReusableFragment"></span>

This problems occurs independenly from RadEditor beeing activated as default HTML editor for site (in Site Features). And RadEditor reacts differently concerning reusable content if used in "normal" page edit mode compared to context in application page. It is only concerning readonly content (automatic update).

Does anybody know, how to overcome this issue? Are there for example specific JavaScript files / libraries, which have to be added to application page?

Thank you and best regards,
Roger

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Sep 2012, 02:09 PM
Hi,

You wrote that "This problems occurs independently from RadEditor being activated as default HTML editor for site". If the problem is reproducible with the built-in SharePoint's editor there is nothing that we can do, because the SharePoint content validating filters do not offer any public API and it is not possible to control or deactivate them.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Sharepoint Integration
Asked by
Roger
Top achievements
Rank 1
Veteran
Answers by
Rumen
Telerik team
Share this question
or