Aug 22, 2016, 10:41 AM
[OPEN] [#1372] [4.1.0] HtmlEditor, focus on show
Hi,
HtmlEditor don't get the focus showing the Windows.
This code works correctly with ext.net 2.5
Where am I doing wrong?
Tks
HtmlEditor don't get the focus showing the Windows.
This code works correctly with ext.net 2.5
<ext:Window ID="WindowComment" runat="server" Title="Comment" Icon="Comment" Width="500" Height="600" Resizable="true"
BodyStyle="background-color:#fff;" BodyPaddingSummary="5 5 5 5" Layout="BorderLayout" DefaultAnchor="100%" Hidden="true" Modal="true">
<Items>
<ext:HtmlEditor ID="HtmlEditorComment" runat="server" Region="Center" EnableAlignments="true" EnableFontSize="true" CreateLinkText="CreateLinkText">
<ButtonTips>
<BackColor Text="BackColor" />
<Bold Text="Bold" />
</ButtonTips>
</ext:HtmlEditor>
</Items>
<Listeners>
<Show Handler="#{HtmlEditorComment}.focus();" Delay="50" />
</Listeners>
<Buttons>
<ext:Button ID="Button1" runat="server" Text="Cancel" Icon="BulletCross" MarginSpec="0 15 0 0" Handler="this.up('window').close();" />
</Buttons>
</ext:Window>
Where am I doing wrong?
Tks
Last edited by fabricio.murta; Aug 23, 2016 at 4:04 AM.