Ecom:CustomerCenter.Paging.CurrentPage

Version: - integer  

Summary

Returns the current page number.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:CustomerCenter.Paging.CurrentPage")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:CustomerCenter.Paging.CurrentPage"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:CustomerCenter.Paging.CurrentPage"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.Paging.CurrentPage-->

Check if integer has a value

<!--@If Defined(@Ecom:CustomerCenter.Paging.CurrentPage)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.Paging.CurrentPage--></strong> <!--@EndIf(@Ecom:CustomerCenter.Paging.CurrentPage)-->