[CLOSED] Override BorderLayout "Floatable" Behavior to Expand Rather than Float

  1. #1

    [CLOSED] Override BorderLayout "Floatable" Behavior to Expand Rather than Float

    Hi All,

    would it possible to override the "Floatable" behavior of the South region and have it act like the "Expand" button was clicked. So rather than "Float" the panel, it would Expand it?

    Thank you,

    David
    Last edited by Daniil; Oct 25, 2011 at 7:08 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please set up Floatable="false" and TitleCollapse="true" for a south region.

    Example

    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:Container
                runat="server"
                Width="200"
                Height="200"
                Layout="BorderLayout">
                <Items>
                    <ext:Panel runat="server" Region="Center" />
                    <ext:Panel
                        runat="server"
                        Region="South"
                        Height="100"
                        Collapsible="true"
                        Floatable="false"
                        TitleCollapse="true" />
                </Items>
            </ext:Container>
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] How does "MaskCls" work for "AutoLoad" mask in panel control
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Jul 19, 2012, 12:09 PM
  2. Replies: 1
    Last Post: Jun 26, 2012, 11:29 AM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  5. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM

Posting Permissions