Hello
I have a problem with the add new row while validating.
How can i cancel changes in the row (what i manage to do) and cleaning the temporary data in the addNewRow that i can not use anymore... ?
I've tried to used :
AddNewRowSettings.AllowAddNewRow = Infragistics.Controls.Grids.
AddNewRowLocation.None;
But it isn't enough...
Thanks, regards
HI,
Thanks for your sample.
I am reviewing it.
Sincerely,
MattDeveloper Support Engineer
Hello,
Here a sample of what i ma trying to do.
Im so sorry to not manage to apply validation on the AddNewRow.
Thanks for you help.
Regards.
Hi,
the xamGrid supports IDataErrorInfo and INotifyDataErrorInfo validation interfaces - so yes you could use this validation mechanism.
Here is a link to a sample and one pointing to the help page.
I Hope this helps.
Regards,
Before sending you my boring code, i have a question.
Can we use a validation in the XamGrid using the same way of thinking that :
https://ko.infragistics.com/samples/silverlight
If so, can you send me a sample please? or an URL where it's shown please?
Thanks
Regards
The problem occurs only when i try to validate the AddNewRow data. If ValidationErrors is empty, I can cancel the row and the problem does not occur.
However, when i cancel on a bad row with, the problem occurs. So the problem comes from validation. When data is not validated correctly, the XamGrid remember about the wrong row. I have to investigate to know where the data is stored.
Thanks,