Hello,
I tried to make xamGrid display a list of structures, one of the fields of which is validated using IDataErrorInfo's indexer (just like the example in xamFeatureBrowser), but I've added an Add New Record row at the top.
The problem is, when the user starts creating the new row, the cell is instantly validated before the user has entered anything and is highlighted with a red border. Is there any way to make the validation occur only when he tries to save the records? It is very annoying to get the error message before even having a chance to enter any value.
Hello Anton,
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I used the code from here:
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=xamGrid_Support_for_IDataErrorInfo_Interface.html
If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.