Silverlight 4 + RIA Services - Ready for Business: Validating Data
To continue our series let’s look at data validation our business applications. Updating data is great, but when you enable data update you often need to check the data to ensure it is valid. RIA Services as clean, prescriptive pattern for handling this. First let’s look at what you get for free. The value for any field entered has to be valid for the range of that data type. For example, you never need to write code to ensure someone didn’t type is “forty-two” into a textbox bound to an int field. You also get nice looking and well behaved validation exposure in the UI. Note: if you are not seeing this, ensure that “ValidatesOnExceptions=True” is in the binding expression for the each field Of course
Read More...
Read the complete post at http://blogs.msdn.com/brada/archive/2010/03/23/silverlight-4-ria-services-ready-for-business-validating-data.aspx