ListView skin not showing

5 posts, 0 answers
  1. Brian
    Brian avatar
    12 posts
    Member since:
    Apr 2012

    Posted 03 May 2012 Link to this post

    I have a RadListView control

    <telerik:RadListView ID="rlvResults" runat="server" AllowPaging="True" OnNeedDataSource="rlvResults_NeedDataSource"
        ItemPlaceholderID="SearchResultsHolder" DataKeyNames="ID"
        AllowCustomPaging="True" Skin="Web20" >
        <LayoutTemplate>
            ...
        </LayoutTemplate>
        <ItemTemplate>
            ...
        </ItemTemplate>
    </telerik:RadListView>


    and I've added an assembly reference to Telerik.Web.UI.dll and Telerik.Web.UI.Skins.dll version 2011.3.1115.35, but the skin is not being applied when I view the page.

    Is there anything I may be missing here?


  2. Galin
    Admin
    Galin avatar
    526 posts

    Posted 08 May 2012 Link to this post

    Hi Brian,

    I guess you do not see the styling in the design mode and the reason for the error is the fact that since Q3 2011 all existing skins, except Default, are moved to a separate skins assembly(Telerik.Web.UI.Skins.dll).

    You should manually add the Telerik.Web.UI.Skins.dll assembly in the Bin folder and reference it.  Additionally, you may need to restart your VisualStudio project to reflect the changes.

    The breaking change is listed in the  release history notes for Q3 2011. You can also read more about it in this blog post.

    I hope this helps.

    All the best,
    Galin
    the Telerik team
    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 their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian
    Brian avatar
    12 posts
    Member since:
    Apr 2012

    Posted 08 May 2012 Link to this post

    Hi Galin,

    I've already added an assembly reference to both the Web.UI and UI.Skins dlls. And the weird thing is that I can apply the Web20 skin to other controls on the page except for this RadListView. Is there another property on the radListView that I need to set?

    Thanks,
    Brian
  5. Galin
    Admin
    Galin avatar
    526 posts

    Posted 11 May 2012 Link to this post

    Hi Brian,

    I have tested the described scenario and the skin is applied as expected. Please check out the test sample in the attached file and let me know what is different on your side.

    Looking forward to your reply.

    All the best,
    Galin
    the Telerik team
    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 their blog feed now.
  6. Saranya
    Saranya avatar
    1 posts
    Member since:
    Oct 2014

    Posted 13 Nov 2014 in reply to Galin Link to this post

    I had the same problem. I have downloaded the example file attached and the only difference was to add another class:
    <div class="RadListView RadListView_<%# Container.Skin %>">
    within the Div of <LayoutTemplate>.
    Worked fine for me after this :)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017