[CLOSED] How to resize Panel after click event ?

  1. #1

    [CLOSED] How to resize Panel after click event ?

    I would like to resize panel after click event on button handler this is the code below :
    <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
    <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html>
    <head runat="server">
        <script type="text/javascript">
            var openDashBoardPanel = function () {
    <ext:ResourceManager runat="server">
        <ext:Viewport ID="ViewPort1" runat="server">
                <ext:BorderLayout ID="BorderLayout1" runat="server">
                        <ext:Panel ID="Panel1" runat="server" Header="false" Border="false">
                        <ext:Panel Border="false" Header="false" runat="server" AutoScroll="true">
                    <South Collapsible="true" Split="true">
                        <ext:Panel ID="testPnl" runat="server" Border="false" Region="South" Height="80"
                            AutoScroll="true" Split="true" Collapsed="false">
                                <ext:Toolbar ID="Toolbar1" runat="server">
                                        <ext:Button ID="Button1" runat="server" Text="Show Dashboard">
                                                <Click Handler="openDashBoardPanel();" />
                                <ext:TextArea ID="TextArea1" runat="server">
    Last edited by Daniil; Jan 29, 2013 at 11:56 AM. Reason: [CLOSED]
  2. #2
    Hi @Daly_AF,

    Please call the doLayout method for the Viewport.

  3. #3
    Thank you it works

Similar Threads

  1. [CLOSED] Panel Click Event
    By romeu in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 03, 2012, 3:29 PM
  2. Go to other panel on button click event.
    By emon in forum 1.x Help
    Replies: 1
    Last Post: Apr 19, 2011, 10:49 AM
  3. Panel Click Event
    By Tror in forum 1.x Help
    Replies: 0
    Last Post: Jun 08, 2010, 6:13 AM
  4. Show a panel on click event
    By CoolNoob in forum 1.x Help
    Replies: 2
    Last Post: Jan 01, 2010, 3:27 PM
  5. Replies: 3
    Last Post: Feb 22, 2009, 2:58 PM

Posting Permissions