Support forums

Template background color not applying.

Last post 05-13-2009, 1:45 AM by vckanandvpp. 2 replies.
Sort Posts: Previous Next
  •  05-12-2009, 9:33 AM 52071

    Template background color not applying.

    When inserting a template as html
        <body style="background-color: #00ff00" >
    The background get skipped in the code so that the background color is not applied.
    we use this server tag
    <CE:Editor ID="Editor1" runat="server" OnPostBackCommand="Editor1_PostBackCommand"
                    AutoConfigure="Full" ResizeMode="None" ShowCodeViewToolBar="False" Width="950px"
                    Height="700px" ShowPreviewMode="False" HyperlinkTarget="_blank" ShowEditMode="true"
                    EnableStripLinkTagsCodeInjection="False" ConvertHTMLTagstoLowercase="true"
                    EnableStripStyleTagsCodeInjection="False" EnableStripIframeTags="False" DisableAutoFormatting="false"
                    UsePhysicalFormattingTags="true" URLType="SiteRelative" EditCompleteDocument="true" EnableStripScriptTags="false">
    Please  prefer me the attributes to make the background color to apply..
  •  05-12-2009, 2:07 PM 52083 in reply to 52071

    Re: Template background color not applying.

    The template files doesn't support full HTML page.
    Please use the following method to load the template files into the editor.

    Editor.LoadHtml Method 

    Loads the contents of a HTML file into the CuteEditor control.

    [Visual Basic]
    Public Sub LoadHtml( _
       ByVal _filename As String _
    public void LoadHtml(
       string _filename


    _filename The html file to load into CuteEditor


    Web Messenger: wysiwyg editor:
    asp wysiwyg html editor: Image Gallery:
    Live Support:

  •  05-13-2009, 1:45 AM 52102 in reply to 52083

    Loading a template without page referesh

    Thanks  for your reply . I am using the cute editor control(html tag) in an ascx page for example myEditor.ascx. But i need to insert my custom template form the insert template page.
    Is it is possible to reterive the Editor1(Id of the cute editor  tag) in the insert template page(in c#). Or 
     is there is a javascript function smilar to load html to load a template in the insert template page into the editor with out loss of background color.
View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems