Working with Web Pages in Microsoft SharePoint Foundation 2010

  • 12/15/2011

Removing a Web Part

When created, SharePoint sites can contain a number of libraries, lists, and one or more web pages that can contain one or more Web Parts. As you customize your site, you might decide that you do not need all the Web Parts on your pages and might want to remove them.

In this exercise, you will delete and close Web Parts to remove them from a website’s home page. You will then restore a closed Web Part.

  1. Click the Edit icon that is displayed to the left of the Browse tab.

    httpatomoreillycomsourcemspimages1755459.jpg
  2. In the top content area, hover the mouse over the title of the Financial Links Web Part and select the check box that appears.

    The List Tools and Web Part Tools contextual tab sets appear in the Ribbon.

  3. Click the Options tab in the Web Part Tools contextual tab set, and then click the Delete command in the State group.

    httpatomoreillycomsourcemspimages1755523.jpg
  4. Click OK to confirm that you wish to delete the Web Part permanently.

  5. In the top content area, hover the mouse over the title of the Furniture Price List Web Part, click the down arrow that appears, and then click Close, which temporarily removes the Web Part from the page.

    httpatomoreillycomsourcemspimages1755525.jpg

    The browser redisplays the page with only one Web Part—the Picture Library Slideshow Web Part.

  6. Click the Insert tab, and then click Web Part in the Web Parts group.

    The Web Parts pane now includes a category Closed Web Parts, which holds Web Parts that are temporarily removed from a web page by using the Close option. Currently, the Closed Web Parts category contains only one Web Part—the Furniture Price XLV Web Part that you removed in step 5.

  7. Under Categories, click Closed Web Parts, and then, under Web Parts, click Furniture Price List.

    The Furniture Price List Web Part is displayed on the page.

  8. Click the Insert tab, and then click Web Part in the Web Parts group.

    Note that the Closed Web Parts category is not displayed now. This category is displayed only when your page contains closed Web Parts.

  9. Click Save & Close.