Feb 18, 2009, 7:32 PM
Problems with HtmlEditor
Hi everyone
Does anyone know how to solve this or where can i get more info about this control. I want to call a window inside a Viewport with a listener i can do that. but at the beginning appears only the HtmlEditor when i click the listener and close the window the HtmlEditor works great i dont know if i have to type a property or something is missing.
button code
Does anyone know how to solve this or where can i get more info about this control. I want to call a window inside a Viewport with a listener i can do that. but at the beginning appears only the HtmlEditor when i click the listener and close the window the HtmlEditor works great i dont know if i have to type a property or something is missing.
button code
<ext:Button ID="Button3" runat="server" Text="Comments">
<Listeners>
<Click Handler="Window1.show()" />
</Listeners>
</ext:Button>
</PRE>Window code
<ext:Window ID="Window1" runat="server" Icon="House" Height="300" BodyStyle="padding: 2px;" Width="420" Title="Comentarios" ShowOnLoad="false" X="400" Y="300">
<Body>
<ext:Panel ID="Panel3" runat="server" Frame="true" BodyStyle="padding:2px 2px 0;" Width="400" ButtonAlign="Center">
<Body>
<ext:Panel ID="Panel1" runat="server">
<Body>
<ext:ColumnLayout ID="ColumnLayout1" runat="server">
<ext:LayoutColumn ColumnWidth=".5">
<ext:Panel ID="P3" runat="server" Border="false" Header="false">
<Body>
<ext:FormLayout ID="FormLayout9" runat="server" LabelAlign="Top">
<ext:Anchor Horizontal="95%">
<ext:TextField ID="TextField1" runat="server" Width="130" FieldLabel="Name" />
</ext:Anchor>
</ext:FormLayout>
</Body>
</ext:Panel>
</ext:LayoutColumn>
<ext:LayoutColumn ColumnWidth=".5">
<ext:Panel ID="Panel12" runat="server">
<Body>
<ext:FormLayout ID="FormLayout10" runat="server" LabelAlign="Top">
<ext:Anchor Horizontal="95%">
<ext:TextField ID="TextField4" runat="server" Width="130" FieldLabel="E-mail" />
</ext:Anchor>
</ext:FormLayout>
</Body>
</ext:Panel>
</ext:LayoutColumn>
</ext:ColumnLayout>
</Body>
</ext:Panel>
<ext:Panel ID="Panel13" runat="server">
<Body>
<ext:FormLayout ID="FormLayout11" runat="server" LabelAlign="Top">
<ext:Anchor Horizontal="98%">
<ext:HtmlEditor ID="HtmlEditor1" runat="server" Height="100" FieldLabel="Comentario" />
</ext:Anchor>
</ext:FormLayout>
</Body>
</ext:Panel>
</Body>
</ext:Panel>
</Body>
</ext:Window>
</PRE>