Contextual Tab

2 posts, 0 answers
  1. Dhaval
    Dhaval avatar
    1 posts
    Member since:
    Dec 2011

    Posted 30 Sep 2013 Link to this post

    How can i assing CssClass to RibbonBarContextualTabGroup? Here is my code.

    <style type="text/css">
        font-weight: bold;
        text-decoration: underline;     

        <telerik:RibbonBarContextualTabGroup Text="Test" Active="true" CssClass="Ctabformat">
            <telerik:RibbonBarTab Text="Tab1" Font-Bold="true" ></telerik:RibbonBarTab>

    Somehow it is not applying format specified in CssClass.

  2. Kate
    Kate avatar
    1898 posts

    Posted 03 Oct 2013 Link to this post

    Hello Dhaval,

    To set the needed styles to the ContextualTabGroups I would suggest that you increase the specificity of the selector. For example you can use the following definition instead of the current one that you have.
    <style type="text/css">
           .new {
               font-weight: bold !important;
               text-decoration: underline !important;

    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 the blog feed now.
Back to Top