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

[Solved] Setting color of modal Window background

3 Answers 159 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jon A.
Top achievements
Rank 1
Jon A. asked on 30 Nov 2007, 08:43 AM
Hi,

When showing a modal window, what CSS class allows me to assign a color to the background DIV object?

Thanks
Jon

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 30 Nov 2007, 10:57 AM
Hello Jon A.,

Unfortunately, right now RadWindow Prometheus does not provide such functionality for the modal window background div, as it uses the modal popup object of ASP.NET AJAX.

We will consider adding customization functionality of that particular element in the future releases. In the meantime, you may try to modify the code provided with ASP.NET AJAX.



Sincerely yours,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jon A.
Top achievements
Rank 1
answered on 30 Nov 2007, 11:15 AM
Thanks for the reply.

Can you tell me how to get the ID of the ModalPopup object that your Window instantiates?   If I know how to access it, then I can change its CSS properties.

[ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
    PopupControlID="Panel1"
    BackgroundCssClass="modalBackground"]
0
Martin
Telerik team
answered on 04 Dec 2007, 08:33 AM
Hi Jon A.,

We are sorry we have mislead you in our previous replies. The modal popup extender of asp.net ajax, that is being used with RadWindow modal dialogs is designed to be used with more than one controls. It does not have id or css class, and unfortunately this is the reason you cannot style it with css right now.

We are considering adding a css class to that specific element for the future release of RadWindow and thus users will be able to set specific css to each skin of RadWindow.



Kind regards,
Martin Ivanov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Window
Asked by
Jon A.
Top achievements
Rank 1
Answers by
Martin
Telerik team
Jon A.
Top achievements
Rank 1
Share this question
or