Re: Upgrading from 6.1 to 6.3 and need to remove FrameStyle - How do I create new ThemeTypes other than the default ones?

  •  07-07-2009, 3:15 AM

    Re: Upgrading from 6.1 to 6.3 and need to remove FrameStyle - How do I create new ThemeTypes other than the default ones?

    Hi aml01,
     
    Try this way:
    1. <%@ Page Language="C#" %>   
    2.   
    3. <%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>   
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   
    5.   
    6. <script runat="server">   
    7.   
    8.     protected override void OnLoad(EventArgs e)   
    9.     {   
    10.         editor1.FrameStyle.BorderColor = System.Drawing.Color.Red;   
    11.         editor1.FrameStyle.BorderStyle = System.Web.UI.WebControls.BorderStyle.Dotted;   
    12.         editor1.FrameStyle.BorderWidth = 10;   
    13.         base.OnLoad(e);   
    14.     }   
    15. </script>   
    16.   
    17. <html xmlns="http://www.w3.org/1999/xhtml">   
    18. <head runat="server">   
    19.     <title>Untitled Page</title>   
    20. </head>   
    21. <body>   
    22.     <form id="form1" runat="server">   
    23.         <div>   
    24.             <CE:Editor ID="editor1" runat="server">   
    25.             </CE:Editor>   
    26.         </div>   
    27.     </form>   
    28. </body>   
    29. </html>  
    Regards,
     
    ken
View Complete Thread