Issue with Reusable Content in Application Page

2 posts, 0 answers
  1. Roger
    Roger avatar
    17 posts
    Member since:
    Aug 2012

    Posted 07 Sep 2012 Link to this post


    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

    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,
  2. Rumen
    Rumen avatar
    12788 posts

    Posted 11 Sep 2012 Link to this post


    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,
    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.

Back to Top