ASPdbSendTemplate

Send the specified template to the browser after all the objects are generated by previous modules. This one liner method sends a template file to the browser. Before this final "Check Out", previous modules should already construct the required objects like grid, chart, list, blocks etc. to replace the tags in the template.

See Intro to Template for template tag syntax.

Method Syntax

Obj.ASPdbSendTemplate(TemplateFilePath)

Parameters

Template-Path Physical path of the ASCII template  file. There is no limitation of the file extension except that using .htm or .html will be easier for browser viewing. A visual HTML editor like Front Page is highly recommended.

Framework

<%
Set Obj=Server.CreateObject("Asp.DB")
...
Set Properties
Create Objects and Exports
...
Obj.ASPdbSendTemplate("template file name")
%>

 

Example

See Case Study #32 - Multiple MagicLayout Objects Template