generatedTemplateOutput

This is the second of the two built-in variables of TextTemplate.

This variable is of type StringBuilder, and you can append text to it if you need to.

You can also output text to this StringBuilder by way of expression blocks.

Example:

<%
    for (int index = 1; index <= 5; index++)
    {
        generatedTemplateOutput.Append(index).Append(Environment.NewLine);
    }
%>

Last edited Jan 20, 2011 at 10:40 PM by lassevk, version 5

Comments

No comments yet.