Hi,
I found this link to use DataErrorInfo in UltraGrid for validation.
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/WinGrid_Display_Row_Cell_Errors_Using_IDataErrorInfo.html
I can't get this to work because the e.Row.ListObject is a DTO object on my model. And not a DataRowView like the sample says.
Is it still possible to set Column errors and/or row errors?
Thanks in advance!
Tobias
Hi Tobias,
You can only use IDataErrorInfo if your data source supports it. So one thing you could do is implement IDataErrorInfo on your custom data objects.
Or... if you want to wait a little while and upgrade, the ability to assign custom DataErrorInfo to an UltraGridRow even when the data source doesn't support it is a new feature we will be adding in NetAdvantage 13.1. :)
Same problem gets mentioned here: http://es.infragistics.com/community/forums/p/1268/399417.aspx#399417