Ogone.pageid

Version: - string  

Summary

Returns ID of the current page .

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ogone.pageid")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ogone.pageid"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ogone.pageid"); }

Outputting the template tag

<!--@Ogone.pageid-->

Check if string has a value

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