(X) Hide this Join a live webcast on October 14th, 10:00 am PDT: 'MEF: Overview of the Managed Extensibility Framework in Silverlight 4' by Gill Cleeren
Learn More | Sign Up | More Webinars by SilverlightShow

Recommended

More from Silverlight Show

Skip Navigation LinksHome / News / View News

RIA Services Validation: Attribute Propagation

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Oct 01, 2010
(0 votes)
Tags: Validation , RIA Services , Data Annotations , Jeff Handley
In this post, Jeff Handley examines how attributes declared on your model are propagated to the client.

Source: Jeff Handley's Blog

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 model on the server and automatically get instant client-side validation of data entry on even the simplest of Textbox controls. In fact, some validation rules are inferred from your data model directly. This is a feat that many other frameworks have attempted to accomplish, but I believe RIA Services has one of the most successful implementations of the concept.

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 2 and 8 and type the answer here: