PDA

View Full Version : Change color of the window?



ensoph
Mar 19, 2008, 5:56 AM
Hi Experts!<br class="webkit-block-placeholder">
How can I change color of the window panel?
<br class="webkit-block-placeholder">
<br class="webkit-block-placeholder">

geoffrey.mcgill
Mar 20, 2008, 4:04 AM
Hi ensoph,

Do you want to change the background-color of the content area? or the color of the border/title wrapper?

If the background-color, try setting the BodyStyle property to something like the following...


BodyStyle = "background-color: yellow;"


If you want to change color of the Window border/title, then you will have to apply a new Theme. At the moment we only include the "Gray" Theme, although the following forum post provides some information on downloading other community Ext Theme's and changing the Default Theme.

http://forums.ext.net/showthread.php?threadid=12-4-1.aspx

With the latest version 0.4.1 (or higher) build, you can now set the Theme at the Page level by using the "Theme" property on the ScriptManager.

Example


<cool:ScriptManager Theme="Gray" ID="ScriptManager1" runat="server" />


Hope this helps.

ensoph
Mar 20, 2008, 4:56 AM
thank you very much.