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

Contextual Tab

1 Answer 7 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Dhaval
Top achievements
Rank 1
Dhaval asked on 30 Sep 2013, 09:23 PM

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

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

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

Somehow it is not applying format specified in CssClass.

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 03 Oct 2013, 12:37 PM
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;
       }
   </style>


Regards,
Kate
Telerik
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.
Tags
RibbonBar
Asked by
Dhaval
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or