NewsText_ctrl

Version: - string  

Summary

Returns a text area for the news item text.

Settings

The value is generated automatically.

Remarks

The value is returned as a HTML code snippet containing a textarea tag.

Examples

Outputting the template tag

@GetString("NewsText_ctrl")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("NewsText_ctrl"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("NewsText_ctrl"); }

Outputting the template tag

<!--@NewsText_ctrl-->

Check if string has a value

<!--@If Defined(@NewsText_ctrl)--> Let's output this tag here: <strong><!--@NewsText_ctrl--></strong> <!--@EndIf(@NewsText_ctrl)-->