PDA

View Full Version : [CLOSED] Collapsible Panel problem



sailendra
May 18, 2012, 7:20 AM
Hi,
Title bar of panel is repeating when double clicked on the title bar to expand the collapsed panel, in side the borderLayout. Also the collapsible panel overlaps the content of another panel below it.


<ext:Viewport runat="server" ID="ttt" Layout="BorderLayout">
<Items>
<ext:Panel runat="server" Region="West" Width="200" Title="left panel">
<Items>
</Items>
</ext:Panel>
<ext:Panel runat="server" Region="Center" Layout="BorderLayout" Title="right panel">
<Items>
<ext:Panel runat="server" Region="North" Height="200" Collapsible="true" Title="test panel">
<Items>
</Items>
</ext:Panel>
<ext:Panel runat="server" Region="Center" Title="bottom panel">
<Content>
<h3>Content</h3>
</Content>
</ext:Panel>

</Items>
</ext:Panel>

</Items>
</ext:Viewport>

Vladimir
May 18, 2012, 9:32 AM
I cannot reproduce the issue, here is my test case (tested in IE 9, Chrome and FF)



<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" TagPrefix="ext" Namespace="Ext.Net" %>


<!DOCTYPE html>


<html>
<head runat="server">
<title>Ext.NET Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />


<ext:Viewport runat="server" ID="ttt" Layout="BorderLayout">
<Items>
<ext:Panel runat="server" Region="West" Width="200" Title="left panel">
<Items>
</Items>
</ext:Panel>
<ext:Panel runat="server" Region="Center" Layout="BorderLayout" Title="right panel">
<Items>
<ext:Panel runat="server" Region="North" Height="200" Collapsible="true" Title="test panel">
<Items>
</Items>
</ext:Panel>
<ext:Panel runat="server" Region="Center" Title="bottom panel">
<Content>
<h3>Content</h3>
</Content>
</ext:Panel>

</Items>
</ext:Panel>

</Items>
</ext:Viewport>
</form>
</body>
</html>


Try to update from SVN first

sailendra
May 18, 2012, 9:56 AM
Hi Vladimir,
I'm still having the same problem, firstly you can collapse the panel then, try to expand it by using single click on the title bar of panel instead of using rightmost collapsible button.

Vladimir
May 18, 2012, 11:43 AM
It is not bug, it is floatable behaviour of collapsed region.


true to allow clicking a collapsed Panel's placeholder to display the Panel floated above the layout,
false to force the user to fully expand a collapsed region by clicking the expand button to see it again.


You can disbale it, set Floatable="false" for region