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

ListView skin not showing

4 Answers 118 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 03 May 2012, 03:23 PM
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?


4 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 08 May 2012, 09:47 AM
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.
0
Brian
Top achievements
Rank 1
answered on 08 May 2012, 03:07 PM
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
0
Galin
Telerik team
answered on 11 May 2012, 08:05 AM
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.
0
Saranya
Top achievements
Rank 1
answered on 13 Nov 2014, 11:03 AM
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 :)
Tags
ListView
Asked by
Brian
Top achievements
Rank 1
Answers by
Galin
Telerik team
Brian
Top achievements
Rank 1
Saranya
Top achievements
Rank 1
Share this question
or