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

changing appearence of a radwindow

1 Answer 30 Views
Window
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 23 Apr 2009, 07:35 AM
Hi There,

I'm trying to change the appereance of a RadWindow (2009_1_402) but i cant get it done ...
changing the sprites isnt the problem ... the problem for me is that i dont know how to change the:

  • .rwTitlebar height, this is in some kind of way not possible for me to change.
  • .rwTopLeft width, same problem
  • .rwBodyLeft width, same problem
  • .rwBodyRight width, same problem

It just looks like some other css files overrules these things !!

Help me out here please

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 24 Apr 2009, 05:34 AM
Hello Nick,

Your approach is correct, however you have to consider the fact, that the embedded stylesheets of RadControls for ASP.NET AJAX (in the case or RadWindow these are Window.css and Window.SkinName.css - the first one containing the common settings for all skins, the second - the skin specific styles) are loaded after any custom styles otr external stylesheets, and due to the "cascading" in the CSS your settings are overridden from ours. In order to put things to work, you have to force your new settings with the !important flag, i.e:

selector
{
    property: value !important;
}


All the best,
Martin Ivanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Nick
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or