RadGrid Styling Issue with new dll

2 posts, 0 answers
  1. nickJr
    nickJr avatar
    18 posts
    Member since:
    Jul 2007

    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.
    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.
  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 15 Mar 2011 Link to this post

    Hi nickJr,

    Please find more information for the modifications in RadGrid Skin in the below articles:

    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!
  3. DevCraft R3 2016 release webinar banner
Back to Top