Ecom:ProductList.PrevPage.Clean

Version: - string  

Summary

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

/Default.aspx?ID=1760&GroupID=&PageNum=1

Settings

The value is generated automatically.

Remarks

Returns empty if there is no previous page.

Examples

Outputting the template tag

@GetString("Ecom:ProductList.PrevPage.Clean")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:ProductList.PrevPage.Clean"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:ProductList.PrevPage.Clean"); }

Outputting the template tag

<!--@Ecom:ProductList.PrevPage.Clean-->

Check if string has a value

<!--@If Defined(@Ecom:ProductList.PrevPage.Clean)--> Let's output this tag here: <strong><!--@Ecom:ProductList.PrevPage.Clean--></strong> <!--@EndIf(@Ecom:ProductList.PrevPage.Clean)-->