NewsDate_ctrl
Version: - stringSummary
Returns dropdowns for specifying the creation date of the news item.
Settings
The value is generated automatically.
Remarks
The value is returned as HTML select tags.
Examples
Outputting the template tag
@GetString("NewsDate_ctrl")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("NewsDate_ctrl"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("NewsDate_ctrl");
}
Outputting the template tag
<!--@NewsDate_ctrl-->
Check if string has a value
<!--@If Defined(@NewsDate_ctrl)-->
Let's output this tag here: <strong><!--@NewsDate_ctrl--></strong>
<!--@EndIf(@NewsDate_ctrl)-->