TemplateUrl Issue

Last post 11-15-2005, 8:48 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  11-15-2005, 7:08 PM 12705

    TemplateUrl Issue

    hi,
     
    i am using TemplateUrl to load some default content into the Editor.
    when the page renders, it quickly shows the template, then the rest of the page loads and the template dissappears.
    here is the code for by Editor control....
                      
                            <CE:Editor
                            id="CE_PageCopy"
                            AutoConfigure="None"
                            ConfigurationPath="deadline_cms.config"
                            EditorWysiwygModeCss="admin_wysiwyg.css"
                            runat="server"
                            TemplateUrl="eNewsletter_template.html"
                            ></CE:Editor> 

    can anyone think of a reason for this?
     
    thanks in advance for any help.
  •  11-15-2005, 8:48 PM 12707 in reply to 12705

    Re: TemplateUrl Issue

    Cab,
     
    If you want to load the content into the editor, please use the Editor.LoadHtml Method.

    Editor.LoadHtml Method - Loads the contents of a HTML file into the CuteEditor control.

    Example:
    Editor1.LoadHtml("document.htm");
     
    Hope it helps.
     
    Let me know if you have any further questions.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML