Hi
You can add a panel to the windows body property, add code to the bodystyle and html properties
eg
<ext:Window
ID="winAbout"
runat="server"
Icon="Information"
Title="About"
Width="300"
AutoHeight="true"
ShowOnLoad="false"
Modal="true"
DefaultButton="btnClose"
Shadow="Drop"
ShadowOffset="5"
AnimateTarget="itemAbout"
AnimCollapse="true"
Border="false">
<Body>
<ext:Panel
ID="panelAbout"
runat="server"
BodyStyle="padding: 5px 10px 5px 10px;
background-color: #E8E8E8;
border: 5px solid #E8E8E8;
border-bottom=none;
font:10px Verdana,arial,sans-serif;
color: #000; text-align: left;">
</ext:Panel>
</Body>
<BottomBar>
<ext:StatusBar ID="stbAbout" runat="server" DefaultText="" Flat="true">
<Items>
<ext:ToolbarButton
ID="btnClose"
runat="server"
Text="Close window"
Icon="Accept"
Type="Submit"
StandOut="true">
<Listeners>
<Click Handler="#{winAbout}.hide(null);" />
</Listeners>
</ext:ToolbarButton>
</Items>
</ext:StatusBar>
</BottomBar>
</ext:Window>
I have this C# function in my codebehind class
protected void Page_Init(object sender, EventArgs e)
{
.....
this.panelAbout.Html = this.GetAboutContent();
.....
}
protected string GetAboutContent()
{
StringBuilder _about = new StringBuilder();
_about.AppendFormat(
"<h1>{0}</h1><p>{1}</p>&nbsp;", this.Title, "for <application name>");
_about.AppendFormat(
"<h1>{0}</h1><p>{1}</p>&nbsp;",
"Contact",
"email: <a style='color: #000;text-decoration: none;'href=mailto:mail@address.com>mail@address.com</a>");
_about.AppendFormat(
"<p style=\"text-align='right'\">{0} {1}/{2}</p>",
Configuration.Parameters.Copyright, // public constants/parameters
Configuration.Parameters.Application,
Configuration.Parameters.CooliteBlack);
return _about.ToString();
}
hth