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

changing colour of text

3 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
MeganF
Top achievements
Rank 1
MeganF asked on 13 Sep 2011, 11:18 AM
hi all,

was wondering how to change the for colour of a title bar of Telerik window in .cs file?

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Sep 2011, 12:26 PM
Hello Megan,

Try the following CS to override the default style.
CSS:
div.RadWindow_<skinName> .rwTitlebarControls em
  {
    color: Red !important;
  }

Thanks,
Shinu.
0
MeganF
Top achievements
Rank 1
answered on 13 Sep 2011, 12:35 PM
Hello :) thanks for your response. I tried this and it did not work :( I have a line of text which appears in title bar of telerik window. This is not placed in the aspx file but is in the . cs file and the line is: This.title = "new page" please advise
0
Princy
Top achievements
Rank 2
answered on 16 Sep 2011, 06:58 AM
Hello Megan,

I suppose you want to change the color of TitleBar.Try setting the following CSS.
CSS:
<style type="text/css">
.RadWindow .rwTitlebarControls td
  {
    background-color:Red !important;
  }
</style>

Thanks,
Princy.
Tags
General Discussions
Asked by
MeganF
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
MeganF
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or