Only Default Skin is available (Where are the other telerik skins?)

8 posts, 0 answers
  1. Chad
    Chad avatar
    8 posts
    Member since:
    Feb 2014

    Posted 11 Apr 2014 Link to this post

    I began following the instructions found here http://www.telerik.com/help/aspnet-ajax/introduction-controlling-appearance-overview.html for changing the skin of a telerik menu.

    However, when I got to step 4 the word "Default" was there but no drop down list.  

    I then added a RadSkinManager to my page to troubleshoot the issue i.e. <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" />. The drop down list appeared with all of the skin names.  This was great, but when I click on any skin name other than "Default" all of the style is lost and no skin is applied.

    Please help me get the telerik skins back.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Apr 2014 in reply to Chad Link to this post

    Hi Chad,

    Can you try adding the Telerik.Web.UI.Skins dll to the Bin folder of the application and reference it from there? Then restart Visual Studio and see if the issue is resolved.

    Thanks,
    Princy
  3. Chad
    Chad avatar
    8 posts
    Member since:
    Feb 2014

    Posted 14 Apr 2014 Link to this post

    Thanks that fixed it.
  4. aly
    aly avatar
    5 posts
    Member since:
    Sep 2016

    Posted 27 Dec 2016 Link to this post

    Hi,
    I have this issue where drop down in only showing default skin. I have 2 reference in my project. 

    1) Telerik.Web.UI
    2) Telerik.Web.UI.Skins

    In my code behind I have: (using Telerik.Web.UI)
    IN ASPX I have:

    <%@ Register assembly="Telerik.Web.UI, Version=2016.2.504.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>

    I am going nuts trying to figure this one out please help.

     

     

  5. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 28 Dec 2016 Link to this post

    Hi,

    It is hard to tell what really happens without testing your project.

    Did you look at the following help articles:

    http://docs.telerik.com/devtools/aspnet-ajax/general-information/controlling-visual-appearance/skins-location

    http://docs.telerik.com/devtools/aspnet-ajax/general-information/controlling-visual-appearance/skin-registration

    http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/skins-troubleshooting

    If you still experience some issues after you read these articles and con not find a solution, we will need more information about the problems - sample project, screenshots etc.

    Regards,
    Bozhidar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  6. aly
    aly avatar
    5 posts
    Member since:
    Sep 2016

    Posted 28 Dec 2016 in reply to Bozhidar Link to this post

    Thank for the reply, I have read most of these blogs you listed but the answer is elusive. Little more about my project.
    1) Its a share point application
    2) In the master pages.aspx, I have the following code:

    <%@ Register assembly="Telerik.Web.UI, Version=2016.2.504.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>

    <telerik:RadSkinManager ID="RadSkinManager1" runat="server"    ShowChooser="true" RenderMode="Lightweight" PersistenceMode="Cookie"></telerik:RadSkinManager>

    <telerik:RadPersistenceManager ID="RadPersistenceManager1" runat="server" StorageProviderKey="OverviewDemoStorage"><PersistenceSettings>
    <telerik:PersistenceSetting ControlID="RadSkinManager1" /></PersistenceSettings>
    </telerik:RadPersistenceManager>

    3) In the Master Code behind I have this code:

      protected void Page_Init(object sender, EventArgs e)
            {
                RadPersistenceManager1.StorageProvider = new Treasury.Ecm.ATMAS.Web.AppPages.SessionStorageProvider(RadPersistenceManager1.StorageProviderKey);
            }

    4) I have 2 reference in my project. 
    a) Telerik.Web.UI
    b) Telerik.Web.UI.Skins

    6) In my code behind I have: (using Telerik.Web.UI)

    Problem:
    In my virtual machine where I do all my development, everything is working fine. But on the production server 
    I only get default skin in the RadSkinManager. I was wondering if, I have to enumerate  or add skins name to 
    RadSkinManager or it load names of embedded skins automatically? Attaching 2 screen shots. One is production 
    and second is Virtual Machine. As you can see that two environments are acting differently with the same code. 
    what else I can look at? 

    1)TELERIK.Web.UI (2016.504.45)
    2)TELERIK.Web.UI.Skins (2016.504.45)
  7. aly
    aly avatar
    5 posts
    Member since:
    Sep 2016

    Posted 28 Dec 2016 in reply to Bozhidar Link to this post

    Hi admin,
    I fixed my problem based on the article.
    http://docs.telerik.com/devtools/aspnet-ajax/general-information/controlling-visual-appearance/skins-location.

    The issue was that default skin was only showing up. 
    Fix: Additional assembly registrations are not needed for it to work, if the correct Skins.dll is referenced in the project the Telerik controls will find their skins. This means that if you are using a skin different than the Default you need to include the Skins assembly in your project (either in the GAC, or in the Bin folder).

    Most importantly:
    Skins assembly in your project (either in the GAC, or in the Bin folder). (This fixed the problem)

     

     

     

     

  8. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 29 Dec 2016 Link to this post

    Hello,

    I am glad that you found how to fix the issue. Additionally the following steps can be followed in similar cases:

    Depending on the type of Project you are working on there are some steps you could follow:

    • If you are using project type WebSite simple replace of the DLLs in the Bin folder should do the trick, however if you have referenced the DLLs globally in Web.config file you should make correction to the linked version too.
    • If the project is of type WebApplication, you should reference the DLL files and additionally to replace the DLL file in the Lib and Bin folders of your project.

    Beside these specific to the type of project steps, there are two common steps that should be done in order to verify that all references are replaced. First close all opened instances of Visual Studio and then clear the content of these folders:

    • C:\Users\current_user\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
    Additionally you could check what is the version of the Telerik assembly which is referenced in the GAC if you have installed it in the GAC. You could check this help topic for more information.

    Regards,
    Bozhidar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top