RE: Dynamic resize of webpart?

From: Wei-Dong XU [MSFT] (v-wdxu_at_online.microsoft.com)
Date: 12/03/04


Date: Fri, 03 Dec 2004 05:31:11 GMT

Hi Doug,

The web part placed at the web part page is, in fact, hosted in the Web
Part Zone. So one web part has two choices for its length from the web part
property panel.
"Should the Web Part have a fixed height?"
A: Yes, __ Pixcels
B: No. Adjust height to fit zone.

>From your description, you are using one Page Viewer Web Part, so you can
set the height of the web part to make it fit your showed content. However,
this property is static and can't be set dynamically based on the showed
contents in it. This is limited by the Web Part Zone.

So if there are different height among your contents, I'd suggest you can
create several web part pages each for each. And at each page, set the
appropriate height for the content.

If you have any question, please feel free to let me know

Best Regards,
Wei-Dong XU (WD.XU)
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.



Relevant Pages

  • Re: Page Viewer Web part height
    ... property to "adjust height to fit zone", ... >horizontally and resize to the window if the webpart ... >to fit zone" does not seem to have the same effect. ... >an inability to set the zone size to adjust vertically. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Expanding Zone Height
    ... In article, Mark Pfeifer wrote: ... > only fills a % of the zone. ... Adjust height to fit zone. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Web part layout
    ... can use the "New Web part zone" button at the bottom of the panel to isnert new web part zone according to your deisgn. ... Best Regards, ... Wei-Dong Xu ...
    (microsoft.public.sharepoint.portalserver.development)