In my last post, I went over some cross-field validation scenarios and provided some sample code, including a CompareValidatorAttribute. We’ve now covered single-field validation and cross-field validation, but there’s yet another level of validation supported by RIA Services—Entity-Level validation. As you’ll see in this post, entity-level validation is very similar...
[Read More]
RIA Services Validation: Cross-Field Validation
I frequently hear questions about how to perform cross-field validation in RIA Services. Before thoroughly covering this topic*, I wanted to be sure to go through some simple scenarios, show how to use CustomValidationAttribute, how to derive from ValidationAttribute, explain how validation rules are propagated to the client, and what...
[Read More]
Old Navy Marketing Idea–Encouraging Weight Loss
This is way off topic for my blog; it has nothing to do with technology. Feel free to turn around and go home now. But if you have ever hesitated to buy new clothes because you were planning to lose weight, you might want to stick around. I just submitted...
[Read More]
RIA Services Validation: Validation Triggers
My goal with this blog post series is to provide an end-to-end tour of how RIA Services validation works and how you can leverage its capabilities to build rich, responsive applications. A key factor for making the most of validation is fully understanding when and how RIA Services invokes your...
[Read More]
RIA Services Validation: Attribute Propagation
Since the beginning of the RIA Services project, a primary tenet was to propagate validation rules defined on the server up to the client, integrating the validation directly into the Silverlight UI. This came to fruition with RIA Services v1.0 and you can in fact apply an attribute to your...
[Read More]