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

Last post 07-07-2009, 3:15 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  07-06-2009, 4:02 PM 53772

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

    I realize FrameStyle is no longer supported and am trying to create new ThemeTypes (other than the defaults), but can't seem to find the details on how to do this.  I have created new folders and changed the style.css files, but the I get errors when I try to reference the new themes from the ascx pages.  What steps am I missing?  Thanks.
  •  07-07-2009, 3:15 AM 53780 in reply to 53772

    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 as RSS news feed in XML