Returns the ID of the maps element.
The value is generated automatically.
Outputting the template tag
@GetString("ElementID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ElementID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ElementID");
}
Outputting the template tag
<!--@ElementID-->
Check if string has a value
<!--@If Defined(@ElementID)-->