Working with templates - SimplifyNet/Simplify.Web GitHub Wiki

Working with templates

To work with HTML templates (load and insert data), you should use the TemplateFactory property of a controller or view base class.

A template is a *.tpl file that contains partial or full HTML content (it can actually be any text data).

TemplateFactory loads a specified template from the specified templates folder and returns the ITemplate interface.

This is an interface from the Simplify.Templates library.

A description of how to work with templates (including localization) is available on the Simplify.Templates wiki page.

<< Previous page Next page >>