[CLOSED] A minor flaw on panel putting on region "West"

  1. #1

    [CLOSED] A minor flaw on panel putting on region "West"

    Here's the example I wanna show you:

    
    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<List<string>>" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <link href="/themes/shared.css" type="text/css" rel="stylesheet" />
        <link href="/themes/icons.css" type="text/css" rel="stylesheet" />
    </head>
    <body id="theBody">
        <ext:ResourceManager ID="theManager" runat="server" 
            IDMode="Inherit" 
            Theme="Default" 
            EnableViewState="false"
            DisableViewState="true"
            ShowWarningOnAjaxFailure="false" ScriptMode="Debug" />
        <ext:Viewport runat="server" Layout="BorderLayout">
            <Items>
                <ext:Panel runat="server" ID="cW" Width="180" Collapsible="true" HideCollapseTool="true"
                    Region="West" MinWidth="140" MaxWidth="180" Split="true" Margins="2 1 2 2"
                    Layout="VBoxLayout" AnimCollapse="false">
                    <LayoutConfig>
                        <ext:VBoxLayoutConfig Align="Stretch" />
                    </LayoutConfig>
                </ext:Panel>
                <ext:Container runat="server" Region="Center" />    
            </Items>
        </ext:Viewport>
        <script language="javascript" type="text/javascript">
            var testFunc = function () {
            }
        </script>
        <form runat="server" id="theForm" />
    </body>
    </html>
    <script runat="server">
        protected override void OnInit(EventArgs e)
        {
        }
    </script>
    Try alter " HideCollapseTool='false' " with " HideCollapseTool='true' ". Supposingly the overall title area is blank now, and it should be hidden then. But it didn't. Am I right to suppose any blank title parts should be hidden?
    Last edited by Daniil; Jun 12, 2012 at 5:22 PM. Reason: [CLOSED]
  2. #2
    Hi,

    A header is not hidden automatically.

    Please set up
    Header="false"
    for the Panel.

Similar Threads

  1. Replies: 5
    Last Post: Jul 19, 2012, 1:09 PM
  2. Replies: 1
    Last Post: Jun 26, 2012, 12:29 PM
  3. Replies: 2
    Last Post: Jun 14, 2012, 12:30 PM
  4. Replies: 5
    Last Post: May 02, 2012, 6:37 PM
  5. Replies: 4
    Last Post: Oct 11, 2011, 3:42 AM

Posting Permissions