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

[Solved] How do I get custom skin to work

7 Answers 217 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Maxim
Top achievements
Rank 1
Maxim asked on 22 Jan 2008, 06:02 AM
For some reason I cant get custom skin to work.
I added a link tag to the page pointing to customized skin file.
I set the EnableEmbeddedBaseStylesheet to false.
I set the skin name to Outlook.
But the control continues to use embedded skin. What am I doing wrong?

Thank you for you help.

See sample below:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
    <link rel="stylesheet" type="text/css" href="Skins/Outlook/ComboBox.Outlook.css" /> 
</head> 
<body> 
    <form id="form1" runat="server"
        &nbsp;<div> 
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
            </telerik:RadScriptManager> 
        </div> 
        <telerik:RadComboBox ID="RadComboBox1" runat="server" EnableEmbeddedBaseStylesheet="False" 
            RadComboBoxImagePosition="Right" Skin="Outlook"
            <Items> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" /> 
                <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" /> 
            </Items> 
            <CollapseAnimation Duration="200" Type="OutQuint" /> 
            <ExpandAnimation Type="OutQuart" /> 
        </telerik:RadComboBox> 
    </form> 
</body> 
</html> 

7 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 22 Jan 2008, 03:23 PM
Hi Maxim,

I suggest to try setting of EnableEmbeddedSkins to false.

Hope this helps.

Kind regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Maxim
Top achievements
Rank 1
answered on 22 Jan 2008, 03:43 PM
Hi Rosi,
If you look at my code sample you will see that EnableEmbeddedBaseStylesheet is set to False. Is it a bug in component it self?

Bests regards,
Maxim
0
Rosi
Telerik team
answered on 23 Jan 2008, 12:08 PM
Hi Maxim,

I meant to set EnableEmbeddedSkins not EnableEmbeddedBaseStylesheet  to false.


Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Maxim
Top achievements
Rank 1
answered on 23 Jan 2008, 02:22 PM
Thank you for your help it worked.
PS: It may be a good idea to  set category as appearance.
0
Ravi Keshwani
Top achievements
Rank 1
answered on 13 Jul 2009, 04:56 AM
Hi All,

 The RadCombobox is not displaying the arrow sign and also the look and feel of the radcombo is not same as the embeddedSkins=true

  I am customizing the outlook skin and set  EnableEmbeddedSkins =false But it is not working for me. I am using master page and the head section is having the link of the css for radcombobox as below.

 

 

<link type="text/css" href="../App_Themes/OutLook/ComboBox.Outlook.css" runat="server" rel="Stylesheet" />

Also I am using user control for editing the record which is having this radcombobox.

 

0
Alaa Majzoub
Top achievements
Rank 2
answered on 14 Oct 2009, 03:33 PM
I cannot Embed the CSS link in header of my master page since i have plenty of inherited pages each with its own theme.
any advice?
0
Paul
Telerik team
answered on 15 Oct 2009, 09:18 AM
Hi Alaa Majzoub,

Please refer to this help article for detail on the matter.

Best wishes,
Paul
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.
Tags
ComboBox
Asked by
Maxim
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Maxim
Top achievements
Rank 1
Ravi Keshwani
Top achievements
Rank 1
Alaa Majzoub
Top achievements
Rank 2
Paul
Telerik team
Share this question
or