Posted 09 Mar 2011
Link to this post
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.
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?
<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.