This question is locked. New answers and comments are not allowed.
Hi there.
I've seen the example for custom validation, but it doesn't seem to cater for an RIA services sort of solution.
I use a view model and have a DomainContext object (_context). I can call SubmitOperation on this to update my SQL database. If this fails based on not being able to update the relevant fields, the SubmitOperation returns an error.
Now what I want to do is somehow tie that SubmitOperation failure in with the custom validation on my GridView.
Any tips or suggestions would be appreciated.
I've seen the example for custom validation, but it doesn't seem to cater for an RIA services sort of solution.
I use a view model and have a DomainContext object (_context). I can call SubmitOperation on this to update my SQL database. If this fails based on not being able to update the relevant fields, the SubmitOperation returns an error.
Now what I want to do is somehow tie that SubmitOperation failure in with the custom validation on my GridView.
Any tips or suggestions would be appreciated.