May 27, 2009, 6:50 AM
How to set ext:panel 's Collapsed proprty to false upon loading of ext:Panel?
Hello,
i need to set the Ext:panel ;s Collapsed attribute to false through javascript upon the loading of my ext:panel.
how to do that?
My code is
Rizwan Ali
i need to set the Ext:panel ;s Collapsed attribute to false through javascript upon the loading of my ext:panel.
how to do that?
My code is
<ext:Window ID="wndUpload" runat="server" Icon="Images" Title="Graphicmail: Choose an Image"
Width="800" Height="600" Modal="true" Border="false" Cls="img-chooser-dlg" Showonload="false">
<Body>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<West Collapsible="True" Split="True" MinWidth="0" MaxWidth="200">
<ext:Panel runat="server" ID="FolderDetailPanel" AutoScroll="false" Width="180px">
<Body>
<div id="basic-accordian">
Some data
</Body>
</ext:Panel>
</West>
<Center MinWidth="150" MaxWidth="200" Collapsible="True" AutoHide="true">
<ext:Panel ID="Panel1" runat="server" AutoScroll="false" Title="Select Image">
<Body>
<div id="basic-accordian2">Some data
</Body>
</ext:Panel>
</Center>
<East Collapsible="true" Split="True" MinWidth="400" MaxWidth="800">
<ext:Panel runat="server" ID="ImageDetailPanel" Title="Select/Edit" AutoScroll="false"
Width="400px" Collapsed="true">
<Body>
<iframe id="Iframe1" name="Iframe1" frameborder="0" scrolling="no" src="Upload.aspx" ></iframe>
</Body>
</ext:Panel>
</East>
</ext:BorderLayout>
</Body>
<Buttons>
<ext:Button runat="server" ID="OkBtn" Text="OK" />
</Buttons>
</ext:Window>
regards, Rizwan Ali