Hide

YetaWF Documentation

Display
Print

Email Component

Email (Display)

Displays the model as an email address with a clickable <a> mailto: link. If the model value is null, nothing is rendered.

Model Type: string

[Caption("Site Admin Email"), Description("The email address of the site's administrator")]
[UIHint("Email"), ReadOnly]
public string AdminEmail { get; set; }

Email (Edit)

Allows entry of an email address.

Model Type: string

[Caption("Site Admin Email"), Description("The email address of the site's administrator")]
[UIHint("Email"), StringLength(Globals.MaxEmail), EmailValidation, Required, Trim]
public string AdminEmail { get; set; }