Re: Preventing CSS links from being stripped does not work when configured in C# code

  •  09-23-2011, 7:49 AM

    Re: Preventing CSS links from being stripped does not work when configured in C# code

    Hi frJericho,
     
    I tested it by the example below , it works fine for me. Does it work for your too?
     
    If it need a special example to reproduce it, please post here, so we can check it for you.
     
    <%@ Page Language="C#" %>

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <html>
    <head>
        <title>example</title>
    </head>

    <script runat="server">
        protected override void OnLoad(EventArgs e)
        {
            Editor1.EnableStripIframeTags = false;
            Editor1.EnableStripLinkTagsCodeInjection = false;
            Editor1.EnableStripScriptTags = false;
            Editor1.EnableStripStyleTagsCodeInjection = false;  
            base.OnLoad(e);
        }
    </script>
    <body>
        <form id="Form1" runat="server">
            <CE:Editor ID="Editor1" runat="server" >
            </CE:Editor>
        </form>
    </body>
    </html>
     
    Regards,
     
    Ken
View Complete Thread