[CLOSED] HTML editor in borderlayout does not work after expand

  1. #1

    [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.


    <%@ 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]
  2. #2
    Hi @Fergus,

    I am afraid we cannot help.
    http://www.sencha.com/forum/showthread.php?148975
  3. #3
    Ok.
    Thanks anyway
  4. #4
    Though, you can turn off animation for the Panel:
    AnimCollapse="false"

Similar Threads

  1. Replies: 15
    Last Post: Mar 08, 2013, 2:08 AM
  2. Replies: 9
    Last Post: Oct 08, 2012, 7:49 AM
  3. BorderLayout expand && HBoxLayoutConfig in MVC example
    By threewonders in forum 1.x Help
    Replies: 2
    Last Post: Apr 12, 2012, 7:35 AM
  4. BorderLayout expand && HBoxLayoutConfig
    By threewonders in forum 1.x Help
    Replies: 2
    Last Post: Apr 04, 2012, 4:32 PM
  5. BorderLayout Expand from code behind
    By rajputamit in forum 1.x Help
    Replies: 1
    Last Post: Oct 29, 2010, 7:32 AM

Posting Permissions