[CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad

  1. #1

    [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad

    I'm using the Panel.AutoLoad to change the contents of the North Panel in a ViewPort.

    I'm expecting that when the contents of the North Panel change and its height changes, that it will expand/contract and the ViewPort will adjust accordingly. But I can't seem to make this flow happen.

    Can this be done, and if so what am I missing? Do I need to wireup some kind of a resize event when the Panel contents change?

    I can produce a simple example if this is not clear.

    -Randy

  2. #2

    RE: [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad

    Hi Randy,

    Are you setting the .AutoLoad property with a full "http" url, which would then create an <iframe>, or just a local url, which loads simple html?

    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad



    Your right, I'm using a full path including 'http'. I forgot that this created an IFrame. My oops.

    However, the reason I'm using the full path including 'http' is because I could not get AutoLoad to accept a partial local path unless the page was located in the same directory as I'm making the call from.

    If I say .AutoLoad="page.aspx" it works, but if I try .AutoLoad="/Framework/page.aspx' (I tried many more formats) it doesn't work. So I built a fully qualified url including 'http' which was the only way I could path to another directory. But since that creates an IFRame, I'm back to only being able to AutoLoad pages in the current directory.

    Is there something funny about the way AutoLoad handles relative pathing?

  4. #4

    RE: [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad

    PS. I'm working on using SetHTML() directly rather than .AutoLoad, so I may avoid the issue altogether.
  5. #5

    RE: [CLOSED] Auto Resize of North Panel in ViewPort on Panel.AutoLoad

    I've fixed my pathing errors, and this issue can be closed.

Similar Threads

  1. Replies: 1
    Last Post: Nov 11, 2011, 5:33 PM
  2. [CLOSED] [1.0] Problem collapsing North Panel
    By bbo1971 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 17, 2010, 6:39 PM
  3. Replies: 1
    Last Post: Jun 10, 2010, 11:28 AM
  4. [CLOSED] Updated from SVn at 3am Est. Today, North Panel now blank...
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2010, 4:52 PM
  5. Auto Resize Panel in ViewPort on client-side Panel.AutoLoad
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Dec 03, 2008, 3:27 PM

Posting Permissions