For example:
```html
data-val-equalto="'MyProperty5' and 'MyProperty4' do not match."
```
There's a method called GetValidationAttributes that adds HTML-encoded values to a dictionary, and then the values are encoded again by TagBuilder.
```html
data-val-equalto="'MyProperty5' and 'MyProperty4' do not match."
```
There's a method called GetValidationAttributes that adds HTML-encoded values to a dictionary, and then the values are encoded again by TagBuilder.