Saturday, 17 August 2013

Data Annotations Custom Validations Duplicate Check on Edit using Devexpress controls

Data Annotations Custom Validations Duplicate Check on Edit using
Devexpress controls

I am using a Devexpress grid view for MVC and on its edit form i am
applying custom data annotation validation for duplicates. When inserting
a new record it works good. But on update it gives the model error again.
What should i do ? Keep in mind the form is same for edit and add.

No comments:

Post a Comment