Reference Skin class from other UC

5 posts, 1 answers
  1. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 01 Jun 2008 Link to this post

    Dear All,

    I am creating a custom interface, where I need to apply the current skin settings from the skin class defined in the Telerik .css file associated with each RadControl.

    I try to create a DIV with class="rpRoot" to apply the panelbar item style, but didn't work, is this the right way to achieve this .....?!

    Thanks and best regards.
    Waleed
  2. Weibin
    Weibin avatar
    17 posts
    Member since:
    May 2008

    Posted 16 Jun 2008 Link to this post

    I need this too.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Waleed Seada
    Waleed Seada avatar
    241 posts
    Member since:
    May 2006

    Posted 16 Jun 2008 Link to this post

    WeiBin, Maybe the question isn't clear, let's reform it again as follows:

    How can we reference the .css classes for any RadControl ?

    Thanks and best regards,
    Waleed
  5. Answer
    Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2500 posts

    Posted 16 Jun 2008 Link to this post

    Hello Waleed Seada,

    A reference of the CSS selectors can be found in the online help for RadControls for ASP.NET AJAX, in the Appearance and styling > CSS Skin File Selectors articles. There are specific files for each RadControl (after all, each has its own CSS class prefix) - the following article is for RadPanelBar.

    The classes can be used outside the RadControls, but all of them are targeted using the .RadControlName class (.RadPanelBar, for example).

    Sincerely yours,
    Alex
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Weibin
    Weibin avatar
    17 posts
    Member since:
    May 2008

    Posted 16 Jun 2008 Link to this post

    hello, telerik administrator, thanks for your reply.
    what worried me is:

    I defined a html table,such as
    <table>
    <tr>
    <td>Name</td>
    <td>Sex</td>
    <td>Age</td>
    </tr>
    <tr>
    <td>Sandy</td>
    <td>Male</td>
    <td>35</td>
    </tr>
    </table>
    I want to assign some of RadControls' predefined css to the header row.
    <table>
    <tr>
    <td class="GridHeader_Vista">Name</td>
    <td class="GridHeader_Vista">Sex</td>
    <td class="GridHeader_Vista">Age</td>
    </tr>
    <tr>
    <td>Sandy</td>
    <td>Male</td>
    <td>35</td>
    </tr>
    </table>

    but I don't know how to reference the "GridHeader_Vista" css class.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017