Re: How to set which security profile to load?

  •  06-21-2009, 11:58 PM

    Re: How to set which security profile to load?

    Hi CIC,

    Try this way

     

    1. <%@ Page Language="C#" %>   
    2.   
    3. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>   
    4. <html>   
    5. <head>   
    6.     <title>SecurityPolicyFile</title>   
    7. </head>   
    8. <script runat=server>   
    9.     protected override void OnLoad(EventArgs e)   
    10.     {   
    11.         Editor1.SecurityPolicyFile = "Admin.config";   
    12.         base.OnLoad(e);   
    13.     }   
    14. </script>   
    15. <body>   
    16.     <form id="Form1" runat="server">   
    17.         <CE:Editor ID="Editor1" runat="server">   
    18.         </CE:Editor>   
    19.     </form>   
    20. </body>   
    21. </html>  

     

    Regards,
    ken
View Complete Thread