UserManagement.User.Image.DeleteLink

Version: - string  

Summary

Returns the delete link of an image of a user in a form like this: javascript:document.getElementById('UserManagementForm.DeleteImage').value = 'True'; document.UserManagementEditForm.submit();

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("UserManagement.User.Image.DeleteLink")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("UserManagement.User.Image.DeleteLink"); }

Outputting the template tag

<!--@UserManagement.User.Image.DeleteLink-->

Check if string has a value

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