[CLOSED] Issue with monitor resize in FF and IE

  1. #1

    [CLOSED] Issue with monitor resize in FF and IE

    Hi,

    I have a treegrid positioned within a panel (having fitlayout) which is inside a viewport having border layout. I have set MonitorResize to true for both treegrid and viewport. Scrollbars are not viisble in FF and IE. Please advise.

    Thanks
    Anulekha
    Last edited by Daniil; Feb 07, 2012 at 4:56 PM. Reason: [CLOSED]
  2. #2
    Hi,

    FitLayout and BorderLayout's regions doesn't support scrolling, because they stretch its children to a container's size.

    Though, I'm not sure there is no solution for your case, but needs more details about your page.

    Providing a sample to reproduce the problem would be best.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    FitLayout and BorderLayout's regions doesn't support scrolling, because they stretch its children to a container's size.

    Though, I'm not sure there is no solution for your case, but needs more details about your page.

    Providing a sample to reproduce the problem would be best.
    Hi Daniil,

    Please find the code snippet.

    ASPX File :
    
    <body>
        <ext:ResourceManager ID="CompanyResourceManager" runat="server" />
        <ext:Viewport ID="vpViewInv" runat="server" Layout="Border" MonitorResize="true" AutoScroll ="true">
            <Items>
                <ext:Panel ID="pnlLocations" runat="server" Region="Center" Layout="FitLayout" AnchorVertical="100%">
                    <Content>
                        <wuc:CompanyLocationTreeGrid ID="LocationGrid" runat="server" />
                    </Content>      
                </ext:Panel>
            </Items>
        </ext:Viewport>
    </body>
    </html>
    
    
    USER CONTROL FILE :
    
    <Ext:TreeGrid ID="tgLocations" runat="server" StripeRows="true"  AnchorVertical="100%"
        Layout="FitLayout" AutoDestroy="true" MonitorResize="true" AutoScroll ="true"
        AutoExpandColumn="0" >
        <Loader>
            <ext:TreeLoader DataUrl="/Common/GetLocationTree" PreloadChildren="true" AutoDataBind="true">
                <BaseAttributes>
    
                </BaseAttributes>
                <BaseParams>
                    
                </BaseParams>
                <Listeners>
           
                </Listeners>
            </ext:TreeLoader>
        </Loader>
        <TopBar>
            <Ext:Toolbar ID="Toolbar1" runat="server">
                <Items>                
                </Items>
            </Ext:Toolbar>
        </TopBar>
        <Columns>
            <ext:TreeGridColumn Header="Name" Width="250" DataIndex="LocationName" Cls="gridCol" />
            <ext:TreeGridColumn Header="Type" Width="150" DataIndex="Type" Cls="gridCol"/>
            <ext:TreeGridColumn Header="Address" Width="230" DataIndex="Address" Cls="gridCol"/>
            <ext:TreeGridColumn Header="PrimaryContact" Width="200" DataIndex="PrimaryContact" Cls="gridCol"/>
        </Columns>
        <Root>
        </Root>
        <Listeners>    
        </Listeners>
    </Ext:TreeGrid>
    
    Thanks
    Anulekha
  4. #4
    I guess you should wrap the user control's content in an <ext:FitLayout> control.

Similar Threads

  1. [CLOSED] Page layout in IFrame and resize issue
    By leon_tang in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 25, 2011, 8:35 AM
  2. [CLOSED] resize FieldLabel
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Dec 13, 2010, 2:38 PM
  3. [CLOSED] [1.0] Window/form resize and buttonalign issue
    By reinout.mechant@imprss.be in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 26, 2010, 12:46 PM
  4. Replies: 2
    Last Post: Jan 01, 2010, 5:51 AM
  5. Replies: 3
    Last Post: Feb 22, 2009, 2:58 PM

Posting Permissions