Strange UI Skin Error (Not the regular issue of not referencing correctly :)

2 posts, 1 answers
  1. Menol
    Menol avatar
    3 posts
    Member since:
    Sep 2013

    Posted 23 Sep 2013 Link to this post

    Hello,

    My site wasn't applying Skins.

    UPDATE:
    I just found that my site doesn't include following css references. A different sample site I made, however, does include this.

    I can't find where and how this gets included as I fail to find any difference between the codes/libraries in my working and non working websites.


    This is the code that isn't generated in the faulty site: I have also added an image of this code if it helps.
    <head>
    <link href="/WebSite1/WebResource.axd?d=0i1mhVJ1-dCV5bBQXa0WNXmbYGESRkFTq4w1-p04ECHlsK4EoLUX1v8K-ZEziSa6NLLuG8CQam_hjdn0a-QT8ONr_XN7EfGhnC1BbK_yM-K8wo4J3O3HvSi491O8V-ldsembv4hJx1QV2zWuP_rnWQ2&amp;t=635095910640000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" /> <link href="/WebSite1/WebResource.axd?d=TmmFO1tq-7uTu5j8SekrhtT8osQVDICIU-WZILvwTtp5huwNHWvgSDpEn1MLG9QybLXZ6_uafB0lE_k2xCKvNKCoWQcyDqsJlB1Q6bZ_zeIiLH_L1HAe1W8TBdRZsDvJfNNOsOjyqep5yJauApJnsBJ3hh1SdpYZo_dmjWVp0zg1&amp;t=635095910640000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" /> </head>

    I have a radgrid that is supposed to be styles according to an embedded skin.

    1 - I have added the matching version of the Telerik.web....UI.skins.dll to my bin
    2 - I referenced the file
    3 - I can see all skins in the "design" mode. I can select a skin and the grid even get those colours (in the design mode)
    4 - But at run time, the grid gets data but is displayed as a very raw HTML table.
    (Please see attached)

    5 - I created a similar grid (using same settings and same methods to populate) for a different website and that works fine! so my referencing must be correct.

    My project uses many css files. 

    So is it possible to override skins by one of those files accidentally?

    If so, what should I do?

    Is there a way to find it out please?

    Please help...

    Kind Regards,
    Menol

    Grid component control code:

    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<DataDriven.Rooster.UI.Models.TGridComponentModel>" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <div id="TGrid">
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" 
            CellSpacing="0" Skin="Glow"
            OnNeedDataSource="Model.PopulateGridOn_NeedDataSource" 
            OnItemDataBound="Model.RadGrid1_ItemDataBound" 
            OnPreRender="Model.RadGrid1_PreRender1" AutoGenerateColumns="False">
        </telerik:RadGrid>
    </div>
  2. Answer
    Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 26 Sep 2013 Link to this post

    Hello Menol,

    Could you please go through these resources and see if they can help resolving the issue:

    1. Web Resources Troubleshooting

    2. Web Resources demystified: Part 3 (Troubleshooting)

    When you try the above suggestions please let us know how it goes.

    Regards,
    Venelin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top