Window Panel auto width

  1. #1

    Window Panel auto width

    Has anyone else run in to any problems using the Window, with the panel's AutoWidth and AutoHeight set to true? The markup I have used is shown below.

    The problem I have, is that the window appears across the width of the screen, but it is just grey. The content doesn't seem to be there.

    What is the correct approach for having the window size itself automatically to the width and height of the content within it?

    Thanks, Tas

    <ext:Window ID="Window_TopMenuItem" runat="server" Icon="Application" Title="Top Menu Item"
                    Center&#111;nload="true" Modal="True" Show&#111;nload="false" BodyStyle="padding: 10px;" AutoHeight="True" AutoWidth="True">
                        <table cellpadding="1" cellspacing="1" border="0">
                                <td><h3>Top Menu Item</h3></td>
                                <td style="width:100%;">
                                    <div class="ScrollableBox" style="height:245px; width:496px;">
                                        <ignav:UltraWebTree id="UltraWebTree_ParentMenuItems" runat="server" Width="96%" SkinID="skinUltraWebTree">
                                                <ignav:Node Text="Top Menu Item" Expanded="true" CssClass="MenuItemStyle"></ignav:Node>
                                <td align="right">
                                    <asp:Button SkinID="skinButton" ID="Button_SelectParentMenuItem_Select" runat="server" Text="Select" Width="75px" &#111;nclick="Button_SelectParentMenuItem_Select_Click" />
                                    &amp;nbsp;<asp:Button SkinID="skinButton" ID="Button_SelectParentMenuItem_Cancel" runat="server" Text="Cancel" Width="75px" />

  2. #2

    RE: Window Panel auto width

    I have exactly the same problem in IE, but it works in Firefox. The problem is only with AutoWidth property. AutoHeight works in both browsers. Any solution?
  3. #3

    RE: Window Panel auto width

    I guess this is the answer: (#9)

Similar Threads

  1. [CLOSED] Grid Panel : Column width (Auto width)
    By legaldiscovery in forum 1.x Premium Help
    Replies: 4
    Last Post: Sep 24, 2011, 9:31 PM
  2. [CLOSED] Panel width not updating on window resize
    By jmcantrell in forum 1.x Premium Help
    Replies: 3
    Last Post: Sep 21, 2011, 3:06 PM
  3. [CLOSED] Auto change popop window height and width
    By speedstepmem3 in forum 1.x Premium Help
    Replies: 1
    Last Post: Jun 09, 2011, 9:29 AM
  4. [CLOSED] Auto Width
    By majunior in forum 1.x Premium Help
    Replies: 2
    Last Post: Jun 01, 2011, 4:30 PM
  5. Auto-Width for Window
    By leroylll in forum Feature Requests
    Replies: 0
    Last Post: May 22, 2010, 3:07 PM

Posting Permissions