View Full Version : [CLOSED] how to change formpanel's background color to Transparent?

Sep 23, 2013, 1:20 PM
<ext:Window runat="server" ID="w_addcol" Hidden="True" Title="新增栏目" Layout="HBoxLayout" Width="270">

<ext:HBoxLayoutConfig Pack="Center" />
<ext:FormPanel runat="server" Layout="AnchorLayout" Padding="4">
<ext:Parameter Name="InputWidth" Value="138"/>
<ext:Parameter Name="LabelWidth" Value="70"/>
<ext:NumberField ID="NumberField1" runat="server" FieldLabel="父级栏目id"></ext:NumberField>
<ext:TextField ID="TextField1" runat="server" FieldLabel="栏目名称"></ext:TextField>
<ext:Button ID="Button1" runat="server" Text="确认"></ext:Button>
<ext:Button ID="Button2" runat="server" Text="取消"></ext:Button>



because formpanel has a formreset method for reset the form, so I must use formpanel, but formpanel's background color is white, how to change it?

Sep 23, 2013, 2:41 PM
Hi @hdsoso,

Please edit the post wrapping the code in [CODE] tags.

Sep 23, 2013, 3:28 PM
Hi @hdsoso,

Please edit the post wrapping the code in [CODE] tags.
I did it. :):):):)

Sep 24, 2013, 3:37 AM
Thank you.

Please set up these settings for the FormPanel.

BodyStyle="background: none;" Border="false"