Return the standard error message in English.
The value is generated automatically.
The message tells the user (in English) that the username or password is wrong or that the maximum length for passwords is 32 characters.
The tag can be used for both Login
and New Password prompts.
Outputting the template tag
@GetString("DW_extranet_error_uk")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DW_extranet_error_uk"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DW_extranet_error_uk");
}
Outputting the template tag
<!--@DW_extranet_error_uk-->
Check if string has a value
<!--@If Defined(@DW_extranet_error_uk)-->