I have a RadGrid that takes data from a business object of some sort. I use the Microsoft Enterprise Library 4.1 to conduct validation on the object by decorating with a [HasValidation] attribute and handling accordingly.
I'm having problems working out how to just pass back validation errors without ending the insert / update process. I'll elaborate.
Everything works very well but if there are validation errors, the errors are displayed but the grid appears to rebind, collapsing the edit form and losing all the entered values in the process.
How can I retain the values entered and stop the edit form collapsing when the data fails validation?