Custom Skins and Themes

5 posts, 0 answers
  1. gnomo
    gnomo avatar
    6 posts
    Member since:
    Jul 2007

    Posted 13 Sep 2007 Link to this post

    Hello
    I have been trying to create a theme for raddocks with two custom skins and I get this compilation error message "Telerik.Web.UI.RadDock already has a default theme defined." whenever i try to add a second skin file to the theme folder.

    Any ideas to solve this problem?
  2. gnomo
    gnomo avatar
    6 posts
    Member since:
    Jul 2007

    Posted 13 Sep 2007 Link to this post

    I think there is also another problem:

    If we have a theme with a custom skin and a custom skin outside of any theme. When in an apsx page we define a theme and at the same time we associate to a raddock the skin that is not in the theme, the last one is always overrided by the one in the theme.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 21 Sep 2007 Link to this post

    Hi,

    I tried the following code and I was not able to reproduce your issue:

    ASPX:
    <%@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     
    <html xmlns="http://www.w3.org/1999/xhtml" > 
    <head id="Head1" runat="server">  
        <title>Untitled Page</title> 
        <link rel="stylesheet" href="Skin/PostIt/Dock.PostIt.css" type="text/css" /> 
    </head> 
    <body> 
        <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
        <div style="background-color:Green;width:800px;height:800px">  
                <rad:RadDockLayout ID="RadDockLayout1" runat="server">  
                    <rad:RadDock ID="RadDock1" runat="server" SkinID="1" >                     
                    </rad:RadDock>             
                    <rad:RadDock ID="RadDock2" runat="server" SkinID="2">                     
                    </rad:RadDock> 
                    <rad:RadDock ID="RadDock3" runat="server" SkinID="CustomSkin">                    
                    </rad:RadDock> 
                </rad:RadDockLayout>                     
         
        </div> 
        </form> 
    </body> 
    </html> 
    Default.skin
    <%@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
     
    <rad:RadDock runat="server" Skin="Office2007" SkinID="1"></rad:RadDock>             
    <rad:RadDock runat="server"  Skin="Default"  SkinID="2"></rad:RadDock> 
    <rad:RadDock runat="server"  Skin="PostIt"  SkinID="CustomSkin"  EnableEmbeddedSkins="false"></rad:RadDock> 
     

    The result was:
    RadDock1 is with Office2007 skin
    RadDock2 is with Default skin
    RadDock1 is with PostIt custom skin

    I hope that this code will be in help for you. Otherwise, please open a support ticket and send us a simple running project where we can observe this issue. Once we receive it we will do our best to help you.

    Best regards,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. fenix2222
    fenix2222 avatar
    13 posts
    Member since:
    Sep 2008

    Posted 22 Nov 2009 Link to this post

    Hi,

    You used to have a nice demo on PostIt notes for RadDock. I am now using 2009 Q2 version and I cant find that demo anymore. I have taken sample from 2008, but rendering of the notes is corrupt. Title bar is shifted and pin and close commands are not shown at all. Do you have an updated version of the postit css file?
  6. Martin
    Admin
    Martin avatar
    585 posts

    Posted 23 Nov 2009 Link to this post

    Hello Igor Goldobin,

    The PostIt! notes skin was a non-standard, and it was removed almost a year ago, and we cannot offer you a converted version of it, however you can create your own custom skin with that particular design. You may refer to the following help topic that describes the image sprites that are used in the new rendering of RadDock:

    http://www.telerik.com/help/aspnet-ajax/dock_appearancetutorialcustomskin.html

    Most probably you will need to do changes both to the Dock.css and Dock.SkinName.css files.

    Regards,
    Martin Ivanov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017