ItemPublisher:Items.Paging.NextPage

Version: - string  

Summary

Returns the link to the next page (if it exists) in the following form:

/Default.aspx?ID=[PageID]&PID=[ParagraphID]&page=[page number]

Settings

The value is generated automatically.

Remarks

Returns "#" if there is no next page.

Examples

Outputting the template tag

@GetString("ItemPublisher:Items.Paging.NextPage")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("ItemPublisher:Items.Paging.NextPage"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("ItemPublisher:Items.Paging.NextPage"); }

Outputting the template tag

<!--@ItemPublisher:Items.Paging.NextPage-->

Check if string has a value

<!--@If Defined(@ItemPublisher:Items.Paging.NextPage)--> Let's output this tag here: <strong><!--@ItemPublisher:Items.Paging.NextPage--></strong> <!--@EndIf(@ItemPublisher:Items.Paging.NextPage)-->