RAD Editor- Iframe src value not update in SPList

2 posts, 0 answers
  1. Dev Team
    Dev Team avatar
    69 posts
    Member since:
    Oct 2006

    Posted 13 Jun 2011 Link to this post

    Hi,

    Currently we are using RADEDITOR control with the version of 5.3.2.0.By using this control we are adding the reports and storing in the sharepoint publishing page.So the report is storing the following format in the Sharepoint list.

    <div><iframe id="iframe_1" src="http://webURL"></iframe></div>
    <p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>

    Now my requirment is i want to chage the src value from http into https under iframe control.Here i have more than
    500 pages with the src value of http.So to update the value for each page,i have created separate utiltiy and getting the src value of the page.If the src value has http://,replacing with https:// under iframe control.Its updating fine in the Sharepoint List.

    But the problem is when you update with <iframe> control,the <iframe> control is storing as Empty.When i fetch the item again am getting the folllowing format.

    <div> </div>
    <p>RAD EDITOR CONTROL<br>\r\n<br>\r\nRAD EDITOR CONTROL</p>

    Content is storing (RAD EDITOR CONTROL) fine with out any issues.But am not sure Why its not updating with IFrame control in SPListItem update.Please let me know.Wating for your reply

    With Regards,
    Rajesh

     

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 Jun 2011 Link to this post

    Hi Dev Team,

    In order to help you further I will need some additional information. Could you please send me the code, which is replacing the src value. Also could you confirm in what scenario are you using RadEditor for MOSS. From your post I guess that it is list scenario, but can you verify this. Also could you try decoding the content before replacing the src value. You can use the following methods for encoding and decoding content:
    Telerik.SharePoint.EditorTools.EscapeSpecialTags, Telerik.SharePoint.EditorTools.UnEscapeSpecialTags

    Greetings,
    Stanimir
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>


Back to Top