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

Set RadWindow Css style

3 Answers 529 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 19 Mar 2014, 07:30 PM

What I am trying to do is set the color of the inside of the radwindow.  The skin I have set as Web20, but for what resides on the inside of the radwindow i want the color to the antiqueWhite.  I have tried applying a css style but it does not take even if I put important.

<telerik:RadWindowManager ID="rwManager" runat="server" CenterIfModal="true" Modal="true" Animation="FlyIn" Behaviors="Close" Skin="Web20" VisibleStatusbar="false" >
                <Windows>
 
                    <telerik:RadWindow ID="rwdelete" runat="server" NavigateUrl="~/MAC/Delete.aspx" Width="600px" Height="300px" ShowContentDuringLoad="false" CssClass="rwDelete"></telerik:RadWindow>
 
                    <telerik:RadWindow ID="rwChange" runat="server" NavigateUrl="~/MAC/Change.aspx" Width="800px" Height="600px" ShowContentDuringLoad="false"></telerik:RadWindow>
                    <telerik:RadWindow ID="rwNew" runat="server" NavigateUrl="~/MAC/NewUser.aspx"></telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
 
 
.rwDelete {
    background-color:antiquewhite !important;
}


I applied to the div that sits on the inside of the window and this works but it does not fill the whole inside of the radwindow.














3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Mar 2014, 03:42 AM
Hi Kevin,

Please try the following CSS to achieve your scenario.

CSS:
<style type="text/css">
    .rwDelete .rwWindowContent
    {
        background-color: antiquewhite !important;
    }
</style>

Thanks,
Shinu.
0
Kevin
Top achievements
Rank 1
answered on 21 Mar 2014, 05:06 PM
Hi Shinu,

tried this alread and it has no effect on the back color, tired different colors as well, but it just will not change.  Even tried in line styling and nothing.
0
Princy
Top achievements
Rank 2
answered on 24 Mar 2014, 11:03 AM
Hi Kevin,

Please try the following CSS to apply background-color for the window.

CSS:
<style type="text/css">
  .RadWindow .rwWindowContent
  {
    background-color: AntiqueWhite !important;
  }
</style>

Thanks,
Princy
Tags
Window
Asked by
Kevin
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kevin
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or