DwSearchResultNumberResult

Version: - integer  

Summary

Returns the current result item number in the list of all results.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("DwSearchResultNumberResult")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("DwSearchResultNumberResult"); }

Outputting the template tag

<!--@DwSearchResultNumberResult-->

Check if integer has a value

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