Jan 11, 2011, 2:26 PM
[CLOSED] Panel Frame Style - Set Background and Font
I need to display a panel with a frame="true" but I want the frame background to be white (instead of the default color from the site style sheet). I can set the body background color to white but there is still the background around the buttons and the frame border that is still showing the original background color.
Where can I set the style for the frame background color?
Where can I set the style for the frame background color?
<body>
<form id="form1" runat="server">
<div>
<ext:ScriptManager ID="ScriptManager1" runat="server" />
<ext:Panel ID="Panel1" runat="server"
Frame="true"
BodyStyle="background-color:white;"
AutoScroll="true"
StyleSpec=""
Border="true">
<Body>
<table>
<tr>
<td align="right">Range:</td>
<td>
<ext:Anchor>
<ext:DateField ID="txt_WebAds_StartDate" runat="server" FieldLabel="Date Range:" EmptyText="Start Date" width="100">
</ext:DateField>
</ext:Anchor>
</td>
<td align="center">to</td>
<td>
<ext:Anchor>
<ext:DateField ID="txt_WebAds_EndDate" runat="server" FieldLabel="to" EmptyText="End Date" width="100">
</ext:DateField>
</ext:Anchor>
</td>
<td width="50%" colspan="1"></td>
<td align="center" valign="bottom">Impressions</td>
<td align="center" valign="bottom">CPM</td>
<td align="center" valign="bottom">Net</td>
</tr>
<tr>
<td align-"right">Position:</td>
<td colspan="3">
<ext:Anchor Horizontal="100%">
<ext:ComboBox ID="cbo_WebAds_Position" runat="server"
DisplayField="DropDownDisplay"
ValueField="ID"
EmptyText="Select Position..." FieldLabel="Position" width="230">
</ext:ComboBox>
</ext:Anchor>
</td>
<td></td>
<td>
<ext:Anchor>
<ext:TextField runat="server" ID="txt_WebAds_Impressions" FieldLabel="Impressions" width="80">
</ext:TextField>
</ext:Anchor>
</td>
<td>
<ext:TextField ID="txt_WebAds_CPM" runat="server" FieldLabel="CPM" Width="60">
</ext:TextField>
</td>
<td>
<ext:TextField ID="txt_WebAds_Net" runat="server" FieldLabel="Net" Width="80">
</ext:TextField>
</td>
</tr>
</table>
</Body>
<Buttons>
<ext:Button runat="server" Text="Save"></ext:Button>
</Buttons>
</ext:Panel>
</div>
</form>
</body>
Last edited by Daniil; Jan 14, 2011 at 8:48 PM.
Reason: [CLOSED]