May 07, 2014, 4:20 PM
[CLOSED] HTML editor in borderlayout does not work after expand
Hi,
If i have a htmleditor in a borderlayout region.
When you collapse the West region in the example and then expand again. HTML editor no longer works.
Will not take focus.
If i have a htmleditor in a borderlayout region.
When you collapse the West region in the example and then expand again. HTML editor no longer works.
Will not take focus.
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Simple BorderLayout in Markup - Ext.NET Examples</title>
<link href="/resources/css/examples.css" rel="stylesheet" />
</head>
<body>
<ext:ResourceManager runat="server" />
<h1>Simple BorderLayout in Markup</h1>
<ext:Button
ID="Button1"
runat="server"
Text="Show Window"
Icon="Application">
<Listeners>
<Click Handler="#{Window1}.show();" />
</Listeners>
</ext:Button>
<ext:Window
ID="Window1"
runat="server"
Title="Simple Layout"
Icon="Application"
Width="700"
Height="350"
Border="false"
Collapsible="true"
Plain="true"
Layout="BorderLayout">
<Items>
<ext:Panel
runat="server"
Region="West"
Collapsible="true"
MinWidth="175"
Split="true"
Width="500"
Title="Navigation">
<Items>
<ext:HtmlEditor ID="TFContent" runat="server" HideLabel="true"
EnableKeyEvents="true" EmptyText="Task Notes" EnableSourceEdit="false">
</ext:HtmlEditor>
</Items>
</ext:Panel>
<ext:TabPanel
runat="server"
Region="Center"
ActiveTabIndex="0">
<Items>
<ext:Panel
ID="Tab1"
runat="server"
Title="First Tab"
BodyPadding="6"
Html="First Tab"
/>
<ext:Panel
ID="Tab2"
runat="server"
Title="Another Tab"
BodyPadding="6"
Html="Another Tab"
/>
<ext:Panel
ID="Tab3"
runat="server"
Title="Closeable Tab"
Closable="true"
BodyPadding="6"
Html="Closable Tab"
/>
</Items>
</ext:TabPanel>
</Items>
</ext:Window>
</body>
</html>
Last edited by Daniil; May 13, 2014 at 4:20 PM.
Reason: [CLOSED]