DwPaging.PreviousPageNumber
Version: - integerSummary
Returns the number of the previous page.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("DwPaging.PreviousPageNumber")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("DwPaging.PreviousPageNumber"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("DwPaging.PreviousPageNumber");
}
Outputting the template tag
<!--@DwPaging.PreviousPageNumber-->
Check if integer has a value
<!--@If Defined(@DwPaging.PreviousPageNumber)-->
Let's output this tag here: <strong><!--@DwPaging.PreviousPageNumber--></strong>
<!--@EndIf(@DwPaging.PreviousPageNumber)-->