08.08.2017 Views

designer

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

132 Chapter 4 Creating and Modifying Web Pages<br />

Inserting a Web Part Zone<br />

With Wiki pages or Web Part pages, users can manipulate the content of a page by using<br />

a browser. On Wiki pages, only the content within the EmbeddedFormField SharePoint<br />

control can be modified with a browser, and on Web Part pages, only content within Web<br />

Part zones. As you develop solutions, you need to develop pages that allow you to provide<br />

content owners the ability to add their own content by using the browser. Therefore, developing<br />

your own Wiki pages and Web Part pages is important for your solution.<br />

In Chapter 3, you saw how easy it is to use SharePoint Designer to create your own Web<br />

Part pages. You are provided with eight different layouts, but these layouts might not<br />

meet your needs—you might need to insert, delete, or modify Web Part zones on your<br />

Web Part pages or create your own Web Part page from an ASP.NET page. Developers<br />

and Web <strong>designer</strong>s can use Microsoft Visual Studio 2010 to define Web Part zones in<br />

pages stored in the root directory on a Web server, or you can use SharePoint Designer<br />

to insert a Web Part zone into a new or existing page, which is stored in the SQL Server<br />

content databases when you save it.<br />

You can insert only Web Parts into Web Part zones; you cannot insert text or images.<br />

Web Part zones have properties that affect the presentation of the Web Parts they contain,<br />

and they control the actions users are allowed to perform with the browser. These<br />

properties are detailed in the following table.<br />

Web Part zone property Description<br />

Zone title<br />

Used when storing Web Part information in the SQL Server<br />

content database. You should give each zone a meaningful<br />

and consistent title; for example, don’t name the Web Part<br />

zone in a left cell First on one page and Left on another.<br />

This is particularly important if you create Web Part zones<br />

on page layouts in publishing sites.<br />

Frame style<br />

The default frame style for all Web Parts in the zone. This<br />

setting can be overridden by the Web Part Frame Style<br />

property.<br />

Layout of Web Parts contained<br />

in the zone<br />

Browser settings for Web<br />

Parts contained in the<br />

zone<br />

In this exercise, you insert two Web Part zones.<br />

Allows you to choose between Top-To-Bottom (Vertical<br />

Layout) or Side-By-Side (Horizontal Layout).<br />

Allows you to restrict the modification of the page by<br />

browser users. By clearing the three check boxes, you effectively<br />

remove the ability to customize any Web Parts placed<br />

in the zone by using the browser.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!