Ecom:CustomerCenter.Paging.PageIndex
Version: - stringSummary
Returns the page index number of the current page.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Ecom:CustomerCenter.Paging.PageIndex")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.Paging.PageIndex"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:CustomerCenter.Paging.PageIndex");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.Paging.PageIndex-->
Check if string has a value
<!--@If Defined(@Ecom:CustomerCenter.Paging.PageIndex)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.Paging.PageIndex--></strong>
<!--@EndIf(@Ecom:CustomerCenter.Paging.PageIndex)-->