O'Reilly logo

Dreamweaver 8: The Missing Manual by David Sawyer McFarland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Master Detail Page Set

When you build a database-driven Web site, you often want to give your visitors both an overview and a detailed view of information. Usually, it takes two separate Web pages to do the job: one that lists limited information about all the records in a recordset, and one that links to a second page with detailed information about a single record. Dreamweaver calls these master and detail pages and gives you a tool for making quick work of this task. Figure 21-17 shows you how these pages work together.

An example of Dreamweaver's Master Detail Page Set. The screen on the left represents a master page—a list of items retrieved from a recordset. Clicking a link on this page opens a detail page (right), which displays the details of a single record.

Figure 21-17. An example of Dreamweaver's Master Detail Page Set. The screen on the left represents a master page—a list of items retrieved from a recordset. Clicking a link on this page opens a detail page (right), which displays the details of a single record.

The Master Detail Page Set object automates the process of creating dynamic tables and recordset navigation bars, as well as adding many different server behaviors to your pages. In fact, there's nothing this tool does that you can't do (albeit more slowly) with the other tools you've learned about in this chapter.

Note

The Master Detail Page Set object isn't available for the ASP.NET server model.

To create a Master Detail Page set, follow these steps:

  1. Create two Web pages—one for the master page and another for the detail page.

    They can be new, blank pages or existing pages that require the dynamic information ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required