daVinci
daVinci

Reputation: 325

Silverlight Validation Methods

I am seeking a method to validate silverlight forms. That could be very helpful if someone with good experireance to suggest me proper method.

I thought about validation in Binding (NotifyOnValidationError=True, ValidatesOnExceptions=True), but in our project there are custom control and some fields setted manually in code behind.

What we need is to show tooltips when something is wrong and to have a method IsValid for a scope.

Upvotes: 0

Views: 96

Answers (1)

Bas
Bas

Reputation: 27085

I would use the DataForm control using MVVM, this is best practice when developing with Silverlight. You can validate using ComponentModel.DataAnnotations.

Upvotes: 2

Related Questions