Showing and hiding regions based on recordset results

Showing and hiding regions based on recordset results

Dreamweaver includes a set of server behaviors that let you show or hide a region based on the results returned by a recordset. To learn more about the Show Region server behaviors, and how they can be used to show or hide recordset results, see Displaying and hiding regions based on recordset results.

To show a region only when it’s needed:

  1. In Design view, select the region on the page to show or hide.
  2. In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button.
  3. Select Show Region from the pop-up menu, and then select one of the listed server behaviors.
  4. Click OK.

Related topics

  • About displaying database records
  • Displaying multiple recordset results
  • Creating a table with a Repeat Region server behavior

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Defining Sources of Dynamic Content
Developing Applications Rapidly