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

Background - RadWIndow

5 Answers 284 Views
Window
This is a migrated thread and some comments may be shown as answers.
Olo
Top achievements
Rank 1
Olo asked on 01 Apr 2009, 01:22 PM
Hi,
how to change background color of RadWIndow in css file in the Telerik version (2009)?
Thx.

5 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 01 Apr 2009, 01:53 PM
Hello Olo,

The RadWindow itself does not have a bg color - it shows a content page and if you want you could change that page's color. If you want to change the background of the loading pane that shows when you have set ShowContentDuringLoad=false, you should modify the following class:
.rwLoading 
    background-color:#d5d5d5 !important; 
    /*
    background-image:  your image here !important;
    */ 


All the best,
Georgi Tunev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Jeff E
Top achievements
Rank 1
answered on 03 Jan 2010, 01:51 AM
Does that mean that there is no way to specify a background color for the ContentTemplate when using the RadWindow as a controls container? As a workaround we've tried dropping a div with a background color inside the ContentTemplate, but there are apparently margins between the inner edge of the window and the outer edge of the div.  If there is a way to get rid of those, that would be a helpful alternative to being able to specify a background color for the ContentTemplate itself.

Thanks!
Jeff
0
Georgi Tunev
Telerik team
answered on 04 Jan 2010, 10:52 AM
Hi Jeff,

You can change the background color by using the .rwWindowContent class (add your background-color property with the !important directive), but the white spaces will stay - they come from the sprites used in RadWindow's design. If you want to change their color, you need to edit the sprite files as well and use an external skin. More information on the subject is available here.


Greetings,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jeff E
Top achievements
Rank 1
answered on 04 Jan 2010, 01:23 PM
That worked.  Thank you for the help!

-Jeff
0
Andrew
Top achievements
Rank 1
Veteran
Iron
answered on 14 Apr 2010, 06:41 PM
How can I make the backgroud color of the content window the same color as the backgroud if the title of the window
Tags
Window
Asked by
Olo
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Jeff E
Top achievements
Rank 1
Andrew
Top achievements
Rank 1
Veteran
Iron
Share this question
or