Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'd suggest looking into the <a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifydataerrorinfo%28v=vs.95%29.aspx" rel="nofollow">INotifyDataErrorInfo</a>. You can use partial classes on the client side and add attributes provided in the ComponentModel namespace or you can write code to raise these events. WCF RIA services uses the attribute approach in the demos I've seen. RIA Services actually uses the same attributes to validate on the server and the client, which has good and bad points to it (in my opinion).</p> <p>Here are some helpful links I've looked at in the past:</p> <p><a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-binding-with-inotifydataerrorinfo.aspx" rel="nofollow">http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/11/18/silverlight-4-rough-notes-binding-with-inotifydataerrorinfo.aspx</a> (he has a good start to create a base class to handle most of the INotifyDataErrorInfo functions in one place)</p> <p><a href="http://thejoyofcode.com/Silverlight_MVVM_and_Validation_Part_III.aspx" rel="nofollow">http://thejoyofcode.com/Silverlight_MVVM_and_Validation_Part_III.aspx</a><br> <a href="http://channel9.msdn.com/learn/courses/Silverlight4/SL4BusinessModule3/SL4LOB_03_03_Validation/" rel="nofollow">http://channel9.msdn.com/learn/courses/Silverlight4/SL4BusinessModule3/SL4LOB_03_03_Validation/</a></p> <p><a href="http://weblogs.asp.net/fredriknormen/archive/2009/11/22/silverlight-4-and-asynchronous-validation-with-inotifydataerrorinfo.aspx" rel="nofollow">http://weblogs.asp.net/fredriknormen/archive/2009/11/22/silverlight-4-and-asynchronous-validation-with-inotifydataerrorinfo.aspx</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload