Hi,
I am using xamGrid with entities from EF. When I enter some characters ('ABC') into numeric field, I get validation format exception - red rectangle with error in tooltips . This is good part. Then I want to cancel - I do context.CancelChages() and set grid to non-edit mode and refresh binding. If I don't have such errors on UI, everything works fine. But not with validation errors.
How can I remove these errors and reset everything on Cancel?
Thanks.
Victor
Hello,
I have created a sample application that demonstrates an approach for returning returning to the previous value when validation error occurs. In order to do that, I implement the IDataErrorInfo interface.
Please let me know if this is what you needed or if I have missed something in your scenario.
Looking forward to hearing from you.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks. Will look at it.