Filter Web Parts added to site pages are not visible in SharePoint 2010

Posted: July 27, 2012 in Errors, Sharepoint 2010

In SharePoint 2010, you create a site page which goes under the SitePages pages library (http://<siteName>/SitePages/). You edit the page and add a filter web part. The filter appears to be added successfully, but you cannot see the newly added filter on the page. You can go on adding any number of webparts. Everything will be added successfully, but doesn’t show up in the page.

You can check the same by adding  the query string ?contents=1 at the page url. You will be able to see the list of webparts in the page where you can see your filter webparts too.

You will not get this issue if you add webparts in a webpart page.

Reason:  The problem occurs because the WebPartManager.DisplayMode property is not getting set when the page is edited. The web parts expect to check WebPartManager.DisplayMode.AllowPageDesign, but for these pages it is set to BrowseDisplayMode even when editing.

Solution: To see the filter web part you’ll need to select “Edit Web Part” for any of the existing web parts you already have on the page. You can then see the newly added filter web parts you have added to the page and also configure them.

  1. article says:

    I know this website provides quality based articles or reviews and additional information, is
    there any other website which presents these kinds of information
    in quality?

  2. Matt says:

    Thank you! Great quick help reference

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s