Visual InterDev
With Site Designer, you can quickly prototype a Web application without worrying about how you will use the pages in your site. For example, if you have added three .htm pages to your site diagram, you can later map these pages to an .asp file and have the navigation bars for the pages display correctly.
Site Designer allows you to map pages in a site diagram to a new or existing Active Server Page in the site structure file. You can also map several pages to an ASP page using different parameters.
Note You cannot map an external page to a new or existing Active Server Page.
To map multiple pages to an ASP page
The Page Tab (Page Properties Dialog Box) appears.
The Choose URL dialog box appears.
The navigation bar links will reflect that the selected page is a parameter of an .asp file and will link to it correctly.
Using the Choose URL dialog box does not add script to the .asp file. You must still add the appropriate script to the .asp file to get the .asp file to display the pages correctly.
For example, if you have mapped Books.htm
and Clothes.htm
to Products.asp
as Type=Books and Type=Clothes, you would need to include the following script in Products.asp
so that Books.htm
and Clothes.htm
would display properly.
<% Request.QueryString("Type")
Select Case "Books" %>
<% Case "Clothes" %>
<% End Select %>
For more information, search for "Request Object" in the index.