RE: SharePoint 2007 Picture Library issue with Custom Master Page



I've got a problem like this one too.

I've got the PlaceHolderLeftActionsin my custom MasterPage in the same place
as in the default.master and I can use all the Picture Library views.

However when I choose the Thumbnail view it doesn't show the thumbnails
inline (next to eachother) but as a column (1 image every row). I've checked
the code and it are all <SPAN>'s so the should be lined next to eachother.

When I switch back to the default.master, they are perfectly inline.

"Justin Kobel" wrote:

I believe I have this one figured out. I'm assuming you started with a
Minimal master page template, which has ContentPlaceHolder
"PlaceHolderLeftActions". Best as I can tell, this region is only used in
Picture and Slide Libraries, and always renders invisible contents.

The javascript WSS uses to render the Thumbnails and Filmstrip views refers
to a local variable inside the page content control that contains a small
invisible thumbnail image. This is called inside a small <SCRIPT> tag after
the initial list view's controls, and if it can't find the thumbnail control,
it doesn't render the two additional controls necessary for the Thumbnail
and Filmstrip views.

In order to get the additional views in a custom master page, you just need
to move your PlaceHolderLeftActions control to within your primary content
region of the master page.

Hope this helps

-Justin Kobel

"Mike H." wrote:

I have noticed an issue on a couple different SharePoint environments that
are using custom master pages. For some reason a user cannot view the
thumbnail or filmstrip view; only the details view will display. No
errors are thrown when a user selects the filmstrip or thumbnail view, in
fact nothing happens at all.

If the master page for the site is changed to default.master then the
picture library functionality returns.

I am trying to narrow down the issue. I am guessing there is some
SharePoint control, zone or script that is not being loaded in the custom
master page.

Has anyone run into this problem? Any suggestions? Currently I am going
line by line between the master pages trying to identify any control or
script differences. So far no luck.

.



Relevant Pages

  • RE: SharePoint 2007 Picture Library issue with Custom Master Page
    ... However when I choose the Thumbnail view it doesn't show the thumbnails ... Minimal master page template, which has ContentPlaceHolder ... and always renders invisible contents. ... the initial list view's controls, and if it can't find the thumbnail control, ...
    (microsoft.public.sharepoint.portalserver.development)
  • RE: Reference A var on Master Page from User Control
    ... following to the Page_Load event of the Master Page: ... Public sub OnCurrentUser(sender as Object, e as UserInfoEventArgs) Handles ... The login User control will check what roles they have and create a User ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Conversion of RS232 serial data from Fire Alarm to MODBUS
    ... Fire Alarm and will response to requests/polls from a Modbus Master ... Read the documentation that comes with the control. ...
    (sci.engr.control)
  • Re: HELP Pretty please :-)
    ... When a control is inside a container like the Content control, it's id is changed to ensure that it's unique. ... Request.Form.Itemalways returns nothing when used in a web site with master page but detects the control value OK when a master page is not involved. ... I have resource files for the master page in english and french with a key saying "welcome" value Welcome in english and Bienvenue in french resource file. ... The objective is to allow the user to switch languages by settting the current threads UiCulture and Culture in code when the user selects another language. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Get DropDownList.SelectedValue from Page_PreInit Event
    ... - is 'select master page/layout' drop down list put on every single page ... (the drop-down-list control is placed in the Content control), ... way to retrieve the UniqueID and value from Request.Form collection. ... string selectedValue = Request.Form ...
    (microsoft.public.dotnet.framework.aspnet)

Loading