Validator
In the View, we can use the Validator
control to show validation messages from the attributes:
<dot:Validator Value="{value: Email}"
ShowErrorMessageText="true" />
Tasks
- Add a
Validator
control next to eachTextBox
. - Make sure to set
ShowErrorMessageText
totrue
. - Bind their
Value
property to the same properties as their adjacentTextBox
Text
property.
Message | Line | Column | |
---|---|---|---|