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.

    Hi,
     
    When inserting a template as html
     
     
    <html>
        <head>
        </head>
        <body style="background-color: #00ff00" >
            k8iuhjnhnlui
        </body>
    </html>
     
     
    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">
                </CE:Editor>
     
     
     
    Please  prefer me the attributes to make the background color to apply..
     
     
    Thanks,
     
    Karthikanand.C
  •  05-12-2009, 2:07 PM 52083 in reply to 52071

    Re: Template background color not applying.

    Karthikanand,
     
    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 _
    )
    [C#]
    public void LoadHtml(
       string _filename
    );

    Parameters

    _filename The html file to load into CuteEditor

    Example

     
        editor1.LoadHtml("~/doc/myhtml.html");
    
    

    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

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

    Loading a template without page referesh

    Adam,
     
    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.
     
     
    Thanks,
     
    Karthikanand.C
View as RSS news feed in XML