HtmlLoad Problem

Last post 10-23-2009, 5:59 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  10-22-2009, 6:37 PM 56611

    HtmlLoad Problem

    I have loaded an html file into the header using editor.LoadHtml(). The file loads into the editor, but it strips out the <html> and <Head> tags.
    Consequently style information in the <head> section is lost.
    Any ideas on how how I can keep the <html> and <head tags>
     
    Cheers
    John Cole
  •  10-23-2009, 5:59 AM 56622 in reply to 56611

    Re: HtmlLoad Problem

    Hi jcole,

    Try properties EditCompleteDocument, like below

       <CE:Editor ID="Editor1" runat="server" EditCompleteDocument="true">
            </CE:Editor>
     
    Regards,
     
    ken
View as RSS news feed in XML