Quantcast
Channel: Open RIA Services
Viewing all articles
Browse latest Browse all 124

Commented Issue: Difference in validation behaviour between Silverlight and .net [91]

$
0
0
Inside the file .\OpenRiaServices.DomainServices.Client\Framework\Silverlight\Data\Entity.cs there is a different way that validation is being handled.

Silverlight calls Validator.TryValidateProperty but (in my instance) WPF calls Validator.ValidateProperty.

Inside WPF the validation does not complete as an exception is being throw if the property representing the field is invalid.

Changing the code to call Validator.TryValidateProperty (to match the Silverlight platform) continues as I would have expected.
Comments: Fixed in changeset 51a78a739191a00da43ef523008619952ffc3167

Viewing all articles
Browse latest Browse all 124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>