UserManagement:Search.Query

Version: - string  

Summary

Returns the search query entered by a user.

Settings

The value is generated automatically.

Remarks

Available when @GetString("UserManagement:Search.Form") is used in list template.

Examples

Outputting the template tag

@GetString("UserManagement:Search.Query")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement:Search.Query"); }

Outputting the template tag

<!--@UserManagement:Search.Query-->

Check if string has a value

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