Any page with a recordset has a section of code before the opening
tag, and a smaller block of code after the closing tag. Dreamweaver automatically places
the code in the proper place??”and code placement is very important on the server side??”when any of its
standard server behaviors are used. Dreamweaver includes more than 25 standard server behaviors; the
exact number varies for each server model. Figure 34-1 displays the available server behaviors for ASP.
FIGURE 34-1
Apply any server behavior from the Server Behaviors panel.
The Server Behaviors panel is the focal point for inserting, removing, and managing server behaviors.
Unlike the Behaviors panel, which only displays the JavaScript behaviors attached to the selected tag, the
Server Behaviors panel displays all the server behaviors included in the current page, in the order in which
they were applied. Selecting a specific server behavior listed in the Server Behaviors panel highlights the
attached page element, if visible in the Document window. Some server behaviors, such as Recordset, have
their own Property inspector, whereas others display dynamic code as an attribute in a text or other
Property inspector.
Although the simplest server behaviors can insert code without any additional user input, each built-in
server behavior has a dialog box for specifying parameters.
Pages:
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790