NewsHeading_ctrl

Version: - string  

Summary

Returns an input field for the news item heading.

Settings

The value is generated automatically.

Remarks

The value is returned as an HTML input tag.

Examples

Outputting the template tag

@GetString("NewsHeading_ctrl")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@NewsHeading_ctrl-->

Check if string has a value

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