I got a dataform partially working with RIA services (I can fetch and edit data).
The problem is that I added validation to my RIA service fields. Ex: from my metadata.cs file
[StringLength ( 50, ErrorMessage= "bad data dude!" , MinimumLength=4)] public string Title;
In the dataform, when a user enters data violating the above rule, an exception is thrown saying "bad data dude!" which is sort of OK. The problem is that I would like the data form to show this message in the error summary?
What am I doing wrong?