This is a migrated thread and some comments may be shown as answers.

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

4 Answers 63 Views
Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
lina fetisova
Top achievements
Rank 1
lina fetisova asked on 07 Sep 2010, 10:10 AM
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?

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 07 Sep 2010, 10:35 AM
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
0
lina fetisova
Top achievements
Rank 1
answered on 07 Sep 2010, 10:44 AM
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.
0
Dimo
Telerik team
answered on 07 Sep 2010, 12:14 PM
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
0
lina fetisova
Top achievements
Rank 1
answered on 08 Sep 2010, 04:01 AM
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!!
Tags
Visual Style Builder
Asked by
lina fetisova
Top achievements
Rank 1
Answers by
Dimo
Telerik team
lina fetisova
Top achievements
Rank 1
Share this question
or