Background - RadWIndow

6 posts, 0 answers
  1. Olo
    Olo avatar
    28 posts
    Member since:
    Nov 2008

    Posted 01 Apr 2009 Link to this post

    Hi,
    how to change background color of RadWIndow in css file in the Telerik version (2009)?
    Thx.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 01 Apr 2009 Link to this post

    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.
  3. Jeff E
    Jeff E avatar
    3 posts
    Member since:
    Jan 2010

    Posted 02 Jan 2010 Link to this post

    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
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Jan 2010 Link to this post

    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.
  5. Jeff E
    Jeff E avatar
    3 posts
    Member since:
    Jan 2010

    Posted 04 Jan 2010 Link to this post

    That worked.  Thank you for the help!

    -Jeff
  6. Andrew
    Andrew avatar
    126 posts
    Member since:
    Sep 2008

    Posted 14 Apr 2010 Link to this post

    How can I make the backgroud color of the content window the same color as the backgroud if the title of the window
Back to Top