(X) Hide this
    • Login
    • Join
      • Say No Bots Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Silverlight LOB: Validation (#2 – Annotations and Shared Classes)

(0 votes)
0 comments   /   posted by Silverlight Show on Nov 09, 2009
Tags:   validation , mvvm , silverlight-3 , line-of-business
Andrej Tozon continues his Silverlight LOB posts and this time he talks about working with data validation in Silverlight 3.

In my previous post, I wrote about “the first line of defense” against inputting invalid data in Silverlight applications (or any kind of application, for that matter) – preventing the user from entering invalid data through some an input form. Input form fields are commonly directly bound to the underlying object’s properties – either directly or through a of value converter – in both cases the entered value gets assigned to the bound object’s property; and this is exactly the place where we would want to put our second line of defense.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter