Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{description}
{excerpt}Gets or sets whether IF fields should be evaluated server\-side in the WordTemplate. 
{excerpt}
{signature:C#}
 public boolean UpdateIfFields{ get; set; }
{signature}{signature:vb.net}
Public Property UpdateIfFields() As Boolean
{signature}
{remarks}
If set to {{true}}, all IF fields on the template will be evaluated on the server side by the [WordTemplate|WordTemplate] object.  If set to {{false}}, the IF fields will not be evaluated without user action.
{remarks}
{example}{code:csharp|title=C#}

          WordTemplate WordTempl = new WordTemplate();
          WordTempl.UpdateIfFields = true;
        {code}
{code:vb.net|title=vb.net}

          Dim WordTempl As New WordTemplate()
          WordTempl.UpdateIfFields = True
        {code}

{example}