[CLOSED] [1.0] BorderLayout - collapse not working correctly

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] [1.0] BorderLayout - collapse not working correctly

    In the below example, the collapsed regions of the BorderLayout are not expanding correctly when clicked (the bottom one doesn't expand at all, and the left one expands but doesn't show the panel).

    Thanks

    Dan

    <%@ 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 id="Head1" runat="server">
        <title>Image on Collapsed BorderLayout Region - Ext.NET Examples</title>
        
        <style type="text/css">
            .west-panel .x-layout-collapsed-west{
                background: url(collapsed-west.png) no-repeat center;
            }
            
            .south-panel .x-layout-collapsed-south{
                background: url(collapsed-south.png) no-repeat center;
            }
        </style>
    </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
    
        <ext:Window ID="Window1" 
            runat="server" 
            Title="Collapsed Region Image" 
            Icon="Application"
            Width="600" 
            Height="350"
            Border="false"
            Closable="false"
            X="100"
            Y="100"
            Plain="true">
            <Items>
                <ext:BorderLayout ID="BorderLayout1" runat="server">
                    <West Collapsible="true" MinWidth="175" Split="true">
                        <ext:Panel ID="Panel1" 
                            runat="server"                             
                            Width="175" 
                            CtCls="west-panel"
                            Title="Navigation" 
                            Collapsed="true"
                            Padding="5"
                            Html="Collapse Panel to see image."
                            />
                    </West>
                    <Center>
                        <ext:Panel ID="Panel2" runat="server" Title="Center region" />
                    </Center>
                    <South Collapsible="true" MinHeight="100" Split="true">
                        <ext:Panel ID="Panel3" 
                            runat="server"                             
                            Height="100" 
                            CtCls="south-panel"
                            Title="Footer"
                            Collapsed="true"
                            />
                    </South>                    
                </ext:BorderLayout>
            </Items>
        </ext:Window>
    </body>
    </html>
  2. #2

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    I'm experiencing this same issue.
  3. #3

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Hi,

    I am working on that issue
  4. #4

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Hi Vladimir, did you manage to fix this?

    Many thanks

    Dan
  5. #5

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Hi,

    We apologize for the delay. It is ExtJS bug therefore we are still waiting fix from ExtJS team (they are notified about that issue). I'll let you know immediately when a fix will be commited
  6. #6

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Hi,

    I have committed own temporary fix. You can use it while ExtJS provides real fix
    Please update from SVN
  7. #7

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Thanks for that Vladimir, much appreciated.

    Dan
  8. #8

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    Hi Vladimir,

    I've updated from SVN, but when I try to expand the collapsed region, I get a "Type mismatch" JavaScript error thrown, on the following code:

    G=="opacity"?this.setOpacity(H):this.dom.style[v(G)]=H
    Thanks

    Dan
  9. #9

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    It seem it is IE6 issues only. Can you confirm it?
  10. #10

    RE: [CLOSED] [1.0] BorderLayout - collapse not working correctly

    I've tested in both IE6 and IE7 and get the same "Type mismatch" error in both browsers...

    Dan
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Form validation is not working correctly
    By Fahd in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 13, 2012, 8:53 PM
  2. Replies: 1
    Last Post: Dec 12, 2011, 12:50 AM
  3. Replies: 4
    Last Post: Oct 21, 2011, 4:48 PM
  4. [CLOSED] GridPanel.save isn't working correctly
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 06, 2009, 7:52 AM
  5. Panel collapse AjaxEvents Not Working?
    By Tbaseflug in forum 1.x Help
    Replies: 2
    Last Post: Jan 28, 2009, 11:22 AM

Posting Permissions