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

RadGrid Styling Issue with new dll

1 Answer 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
nickJr
Top achievements
Rank 1
nickJr asked on 09 Mar 2011, 07:08 PM
We were using custom skins for radgrid with telerik version 2008.1.415.20.
But we have upgraded the telerik to version 2010.2.929.35 and the custom skins no longer work

We inspected the code and the new dll appends an addition tag in front of the class name and some of the class names have been completely changed.
For instance:
The class RadGrid_ASCDGrid has been changed to RadGrid RadGrid_ASCDGrid in the generated code.
Class MasterTable_ASCDGrid has been changed to rgMasterTable etc.etc..

I looked at the code samples on your site and i see a class called "RadGrid RadGrid_MyCustomSkin" (just like it changed in my code). However you style sheet does not contain the same class. Instead it still has the "RadGrid_MyCustomSkin" class.

How can I resolve this. What do I have to do to use the same existing style sheet?

Your code:
<telerik:RadGrid ID="RadGrid1" Skin="MyCustomSkin" EnableEmbeddedSkins="false" DataSourceID="ObjectDataSource1"
            PageSize="10" runat="server" AllowFilteringByColumn="true"
            AllowPaging="True" AllowSorting="True" ShowFooter="True"
            ShowStatusBar="true" GridLines="None" AutoGenerateColumns="false">


is rendered as <table id="RadGrid1" class="RadGrid RadGrid_MyCustomSkin" cellspacing="0" ..... >

In the old version it used to render the class as RadGrid_MyCustomSkin, but now its RadGrid RadGrid_MyCustomSkin. However there is no style defined as RadGrid RadGrid_MyCustomSkin.

Please advice.
thanks
jay

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 15 Mar 2011, 09:55 AM
Hi nickJr,

Please find more information for the modifications in RadGrid Skin in the below articles:
http://www.telerik.com/help/aspnet-ajax/grid-appearance-creating-new-skins.html
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-q3-2008-skins-available-for-download.aspx

Greetings,
Iana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
nickJr
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or