[1.0] Autoscroll not working anymore in Portal

  1. #1

    [1.0] Autoscroll not working anymore in Portal

    Hi All,

    I'm having a problem with showing scrollbars when the size of Portlets exceed the container. In the 0.8 examples explorer, if you move the portlets to the same column, scrollbars are automatically added to the container, however in the 1.0 preview examples they are not.

    I have tried placing AutoScroll="true" wherever i can in vain, but can only seem to add scrollbars to the individual PortalColumns.

    Is this a bug, or is this by design?

    Regards,

    Alex
  2. #2

    RE: [1.0] Autoscroll not working anymore in Portal

    Hi,

    Please set FitHeight="false" for the ColumnLayout
  3. #3

    RE: [1.0] Autoscroll not working anymore in Portal

    Hi Vlad,


    I can confirm that this works, using the following:

        <ext:Portal ID="Portal1" runat="server" Header="false" Border="false" AutoScroll="true">
          <Items>
            <ext:ColumnLayout ID="ColumnLayout2" runat="server" FitHeight="false">
              <Columns>
                <ext:LayoutColumn ColumnWidth=".5">
                  <ext:PortalColumn ID="PortalColumn1" Layout="Anchor" runat="server" >
                    <Items> </Items>
                  </ext:PortalColumn>
                </ext:LayoutColumn>
                <ext:LayoutColumn ColumnWidth=".5">
                  <ext:PortalColumn ID="PortalColumn2" runat="server" StyleSpec="padding:10px 0 10px 10px">
                    <Items> </Items>
                  </ext:PortalColumn>
                </ext:LayoutColumn>
              </Columns>
            </ext:ColumnLayout>
          </Items>
        </ext:Portal>

    however, I was under the impression that ColumnLayouts should now be used by setting Layout="Column" on Portal, and setting the ColumnWidth property on the PortalColumn? Would I be wrong in thinking that there therefore should be a property called FitHeight on the Portal object?



    Regards,


    Alex
  4. #4

    RE: [1.0] Autoscroll not working anymore in Portal

    Hi,

    All containers have LayoutConfig inner property. You can add ColumnLayoutConfig to the LayoutConfig and define FitHeight value
  5. #5

    RE: [1.0] Autoscroll not working anymore in Portal

    Ah, I see

    For everyone else's reference, this is how I have got it to work.

    <ext:Portal ID="DetailPortal" runat="server" Header="false" Border="false" AutoScroll="true">
     <LayoutConfig>
      <ext:ColumnLayoutConfig FitHeight="false" />
     </LayoutConfig>
     <Items>                            
      <ext:PortalColumn ColumnWidth="0.5" ID="LeftPortalColumn" runat="server">
       <Items/>
       </ext:PortalColumn>
           <ext:PortalColumn ColumnWidth="0.5" ID="RightPortalColumn" runat="server">
         <Items/>  
      </ext:PortalColumn>
     </Items>
    </ext:Portal>
    Thanks again for your help.

    Alex

Similar Threads

  1. Replies: 5
    Last Post: Jun 19, 2012, 9:06 PM
  2. [CLOSED] DirectMethods not called anymore
    By wagger in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: May 04, 2011, 6:51 PM
  3. [CLOSED] PartialViewResult doesn't work with ASP.NET MVC 3.0 anymore
    By SandorD in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 11, 2011, 1:09 PM
  4. AutoScroll doesn't work anymore
    By tenkyu in forum 1.x Help
    Replies: 6
    Last Post: Nov 05, 2010, 2:26 PM
  5. [CLOSED] [1.0]Moving Portlet from Portal to Portal
    By betamax in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 21, 2010, 11:47 AM

Posting Permissions