Groups.DwPaging.CurrentPage

Version: - integer  

Summary

Returns the current page of the frontend view.

Settings

The value is generated automatically.

Remarks

Tag is only available if Activated checkbox is enabled in Extranet module settings in Paging section.

Examples

Outputting the template tag

@GetInteger("Groups.DwPaging.CurrentPage")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Groups.DwPaging.CurrentPage"); }

Outputting the template tag

<!--@Groups.DwPaging.CurrentPage-->

Check if integer has a value

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