after mking my own skin standard skins don't work =(

5 posts, 0 answers
  1. lina fetisova
    lina fetisova avatar
    110 posts
    Member since:
    Apr 2010

    Posted 07 Sep 2010 Link to this post

    Good day!

    I've done everything like here http://www.telerik.com/help/aspnet-ajax/createcustomskin.html
    I've made my own skin for Menu called capmenu and I've made a Menu using this skin:
    <telerik:RadMenu ID="RadMenu_Administrators" runat="server" EnableRoundedCorners="true" EnableShadows="true" Skin="capmenu" EnableEmbeddedSkins="false" >

    but after what all of the default skins ended there work! everything look awfull =(
    i've tried to add other skins (standard skins) the same way like my own skin, it works, but it's very uncomfortable and I don't know how to add all icons to Edit panel this way
    =(
    what can I do to make standard skins work again?

  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 07 Sep 2010 Link to this post

    Hello Lina,

    Based on the provided information, it is not very clear what is the problem. Have you registered the capmenu CSS file on the page? Is it applied to the RadMenu instance?

    You should know that IE has a limitation on the number of CSS files that can be registered on the page:

    http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx

    Which icons and which Edit panel are you referring to?

    Regards,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. lina fetisova
    lina fetisova avatar
    110 posts
    Member since:
    Apr 2010

    Posted 07 Sep 2010 Link to this post

    Good day, Dimo!
    yes, i've registered my skin two ways;
     <link href="~/Styles/capmenu/Menu.capmenu.css" rel="stylesheet" type="text/css" runat="server" />
        <link href="~/Styles/capmenu/Menu.css" rel="stylesheet" type="text/css" runat="server"  />

     <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
           <StyleSheets>
               <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Default.Menu.capmenu.css" Assembly="Telerik.Web.UI" />
               <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Default.Menu.css" Assembly="Telerik.Web.UI" />
           </StyleSheets>
        </telerik:RadStyleSheetManager>

    my skin works fine. but standard skins do not =(
    my skin was made only for menu and I use it only for menu.

    I'm speaking about all the standard command icons in the header of RadEditor: http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
    there is empty space instead of them there when I try to add standard Editor css file to my project.
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 07 Sep 2010 Link to this post

    Hi Lina,

    RadStyleSheetManager works only for embedded CSS files. Your custom skin is not located in an embedded CSS file, so please remove the two StyleSheetReference from the RadStyleSheetManager tag.

    With regard to the RadEditor icons - is this with a custom skin or with an embedded skin? Please check whether the background image for the Editor tools is loaded correctly. The background image is normally applied to <span> elements placed inside <a> elements.

    Generally, when having problems with styles, you should check whether all required CSS files are registered on the page and whether the problematic styles are not overridden by other styles.

    If you need assistance with any of the above, please provide a simple standalone runnable demo or a live URL.

    Regards,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. lina fetisova
    lina fetisova avatar
    110 posts
    Member since:
    Apr 2010

    Posted 07 Sep 2010 Link to this post

    RadStyleSheetManager works only for embedded CSS files. Your custom skin is not located in an embedded CSS file, so please remove the two StyleSheetReference from the RadStyleSheetManager tag.

    Dimo! Thank you very much! it helped me!!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017