Tornado API Library - V12.30.08

z.dbDualTemplate Property

Replace internal system 'Dual' mode template.

Product Version

All
[VisualBasic]
PublicPropertydbDualTemplateAsString
[C#]
publicstringdbDualTemplate{set;}

Property Value

MyDb.dbDualTemplate = "Inline HTML code | File Template"

KeywordDescription
Inline HTML code From Property
File TemplateFrom File

QuickProp Keyword Abbreviation

dtp

Remarks

Replacement HTML code can be from property or file

Default system template = <center>[[Grid]]<p>[[Form]]<p>[[GridNav]]<P>[[GridStat]]</center>

Example

From File -
  MyDb.dbDualTemplate = "File=/tornado/templates/eg_DualForm.html"
From Property -
  MyDb.dbDualTemplate = "<h2>My Grid Dual template</h2><P>[[Grid]]<BR>[[Form]]<P>[[GridNav]]</BR></P>"

See Also

z Class | Tornado Namespace | Special Topic - Templates