Returns the page index number of the current page.
The value is generated automatically.
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)-->