Change Window Title Forecolor

5 posts, 1 answers
  1. Brad
    Brad avatar
    8 posts
    Member since:
    Jun 2009

    Posted 02 Jun 2009 Link to this post

    I am using the ASP.NET AJAX 2009 Q1 version of the Rad Windows. I have a window using the Black Skin, but I would like to change the Forecolor of the Title in the window and I have been unsuccessful in doing it with the ForeColor property of the Window or the Window Manager. Is this possible?

    Thanks!
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Jun 2009 Link to this post

    Hi Brad,

    Try adding following CSS for changing the text color of RadWindow title.

    CSS:
     
    <style type="text/css"
    div.RadWindow_Black .rwTitlebarControls em 
        colorred !important; 
    </style> 

    Thanks,
    Shinu.
  3. Brad
    Brad avatar
    8 posts
    Member since:
    Jun 2009

    Posted 03 Jun 2009 Link to this post

    I've tried applying this CSS to the page with the windows and to the Telerik CSS located under program files. Neither had any effect on the window.
  4. Martin
    Admin
    Martin avatar
    585 posts

    Posted 03 Jun 2009 Link to this post

    Hello Brad,

    Actually, the code that Shinu gave you is working. As you can see on the test page I have attached to this message, it works like charm. In your details, I can see that you are using the latest version of RadControls - 2009.1 402, but if you are using a pre-Q1.2009 version, this fix will not work, because we have changed the naming conventions of the CSS classes. If you are with an older version of the controls, use FireBug or Internet Explorer Developer Toolbar to get the old CSS classes and change the CSS respectively.

    Regards,
    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.
  5. Brad
    Brad avatar
    8 posts
    Member since:
    Jun 2009

    Posted 04 Jun 2009 Link to this post

    Yes, you're correct. I had an error in my CSS file that was keeping this from being applied. It works fine, Thanks!
Back to Top