Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
IDataErrorInfo and new row (xamGrid)
posted

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.