Page:Ecom.ProductList.Pages.Page.UrlEncoded
Version: - stringSummary
Returns the encoded URL to the given page.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Page:Ecom.ProductList.Pages.Page.UrlEncoded")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Page:Ecom.ProductList.Pages.Page.UrlEncoded"))) {
@* 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.UrlEncoded");
}
Outputting the template tag
<!--@Page:Ecom.ProductList.Pages.Page.UrlEncoded-->
Check if string has a value
<!--@If Defined(@Page:Ecom.ProductList.Pages.Page.UrlEncoded)-->
Let's output this tag here: <strong><!--@Page:Ecom.ProductList.Pages.Page.UrlEncoded--></strong>
<!--@EndIf(@Page:Ecom.ProductList.Pages.Page.UrlEncoded)-->