Creating and Modifying Web Pages in Microsoft Office SharePoint Designer 2007
- 1/9/2008
Creating an ASP.NET Page
All built-in Web Part Pages consist of an ASP.NET page with Web Part zones. If you want to create a Web Part page similar to the ones created using the browser, then in SharePoint Designer, you could copy an existing page, as you did in Chapter 3, or you need to create an ASP.NET page, associate a master page and insert Web Part zones and Web Parts, using as many Web Part zones as you want in the layout of your choice. All built-in Web Part Pages use tables, but if you are concerned about accessibility, you may want to use tables of HTML <div> tags to lay out the pages you create from scratch. Because you can insert more than one Web Part per Web Part zone, it is common practice to insert one Web Part zone to a table cell or <div> tag.
In this exercise, you will create a new ASP.NET page with a table layout.
-
On the Common toolbar, click the New Document button.
New Document
A new file named Untitled_1.aspx opens.
-
On the Common toolbar, click the Save button.
Save
The Save As dialog box opens.
-
Double-click WebPages. In the File name text box, type ParcelDelivery.aspx.
-
Click Change title.
The Set Page Title dialog box opens.
-
If prompted, type your user name and password, and then click OK.
-
In the Page title text box, type Consolidated Messenger Parcel Delivery.
-
Click OK to close the Set Page Title dialog box, and then click Save to close the Save As dialog box.
-
On the Table menu, click Layout Tables.
The Layout Tables task pane appears in the lower left of the SharePoint Designer program window.
-
In the Layout Tables task pane, under Table layout, scroll down and click Header, Body, Footer, and Right.
Table markers appear in the page body, designating a table 635 (525+110) pixels wide by 611 (83+472+56) pixels high. The green lines indicate the outer edge of the table, and the internal blue lines indicate the cell layout of the table.