Hide

YetaWF Documentation

Display
Print

StringAlert Component

StringAlert (Display)

Displays the model as an HTML encoded string in an alert box (a div with the yDivAlert CSS class). If the model value is null, nothing is rendered.

Model Type: string

[Caption("Warning"), Description("Shows a warning")]
[UIHint("StringAlert"), ReadOnly]
public string Warning { get; set; }