Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded

Version: - string  

Summary

Returns the HTML encoded URL to the given page.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded"); }

Outputting the template tag

<!--@Page:Ecom.ProductList.Pages.Page.UrlHtmlEncoded-->

Check if string has a value

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