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

Error using custom skin

5 Answers 200 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kalyan
Top achievements
Rank 1
Kalyan asked on 30 Apr 2008, 09:22 PM
We copied existing skin & modified its images & named it as "cool". I copied RadControls directory into my website & created new skin folder named "cool" & dropped all required images into it.

Here is the error i receive

Telerik.Web.UI.RadTabStrip with ID='RadTabStrip1' was unable to find embedded skin with name 'cool'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

Here is how i reference in my html

<

telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage1" Skin="cool" ></telerik:RadTabStrip>

I also tried using EnableEmbeddedskins = false, it doesn't throw any error however it doesn't apply any skin to the control.

Any help is appreciated.

5 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 01 May 2008, 08:09 AM
Hi Kalyan,

Please check the following help topic which discusses how to use custom skins. Also check this topic for details how to register custom skins.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jon
Top achievements
Rank 1
answered on 25 Jun 2008, 01:19 PM
I am having the exact same problem but I am trying to use the built in telerik skin. EnableEmbeddedSkins is NOT set to false. Please help!
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 06:42 AM
Hello Jon,

As the error message suggest RadTabStrip can register automatically only skins which are embedded. Please check the help topics mentioned in my previous reply. The explain how to register a custom skin.

Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Antony
Top achievements
Rank 1
answered on 09 Feb 2009, 10:08 AM
Hi,

I'm having this problem too. I've followed this tutorial http://www.telerik.com/help/aspnet-ajax/createcustomskin.html and http://www.telerik.com/help/aspnet-ajax/skinregistration.html but my skin is not showing.

<head id="Head1">  
 
    <link href="PAB3/TreeView.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/ToolTip.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/ToolBar.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/TabStrip.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/Splitter.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/PanelBar.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/Menu.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/ListView.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/Input.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/Grid.PAB3.css" rel="stylesheet" type="text/css" /> 
    <link href="PAB3/ComboBox.PAB3.css" rel="stylesheet" type="text/css" /> 
 
    <asp:ContentPlaceHolder runat="server" id="heading">  
 
    </asp:ContentPlaceHolder> 
 
</head> 
 
<body> 
    <form id="form1" runat="server">  
    <div id="main">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true">  
        <Services><asp:ServiceReference Path="~/WebService/PAB3.asmx"></asp:ServiceReference></Services>  
        </telerik:RadScriptManager> 
        <telerik:RadTabStrip runat="server" EnableEmbeddedSkins="False" Skin="PAB3">  
        <Tabs> 
        <telerik:RadTab Text="Monitor" ForeColor="#333399" NavigateUrl="Monitor/MoStart.aspx"></telerik:RadTab>   
        <telerik:RadTab Text="Search" ForeColor="#177B2F" NavigateUrl="Search/SeStart.aspx"></telerik:RadTab>   
        <telerik:RadTab Text="Tracker" ForeColor="#AA00AA" NavigateUrl="Tracker/TrStart.aspx"></telerik:RadTab>   
        <telerik:RadTab Text="Events" ForeColor="#FFF200" NavigateUrl="Events/EvStart.aspx"></telerik:RadTab>   
        <telerik:RadTab Text="PeoplePoint" ForeColor="#FF9933" NavigateUrl="PeoplePoint/PPStart.aspx"></telerik:RadTab>   
        <telerik:RadTab Text="MediaPoint" ForeColor="#666666" NavigateUrl="MediaPoint/MPStart.aspx"></telerik:RadTab>   
        </Tabs> 
        </telerik:RadTabStrip> 
    </div> 
 
    <asp:ContentPlaceHolder runat="server" ID="ModuleName" /> 
    <asp:ContentPlaceHolder runat="server" ID="body"></asp:ContentPlaceHolder> 
</form> 
          
</body> 

Can anyone help?

Thanks,

Antony
0
Antony
Top achievements
Rank 1
answered on 09 Feb 2009, 10:29 AM
Hi,

I found what I was missing and the custom skin is now showing! For anyone that might be interested, I was missing the runat="server" attribute from the <head> tag

Antony
Tags
TabStrip
Asked by
Kalyan
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jon
Top achievements
Rank 1
Antony
Top achievements
Rank 1
Share this question
or