RadPanelBar for ASP.NET

Common pitfalls and tips Send comments on this topic.
See Also
Controlling the visual appearance > Common pitfalls and tips

Glossary Item Box

My CSS rule is not applied

Most probably there is a more concrete rule which overrides the one you have defined. For example a if you have an item:

  Copy Code
<rad:radpanelitem CssClass="myItem" ...>

And a you define the class like this:

  Copy Code
<style type="text/css">
.myItem
{
   
color: navy;
}
</style>

Your definition may not actually have any effect. The reason for this may be a more concrete rule defined in the CSS skin file:

  Copy Code
.RadPanelBar_Outlook .group .link
{
   
color:blue;
}

The simplest solution is to make your rule more concrete:

  Copy Code
<style type="text/css">
.RadPanelBar_Outlook
.rootGroup .group .myItem
{
   
color: navy;
}
</style>

 

See Also