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
519
Best approach for Validation within cells of a UltraGrid - Datasource is a business entity rather than a datarowiew
posted

Hello, 
I have a grid whose data source is a business entity, ie BindingList .
I want to validate user inputs for all cells in the row(s) for that grid.

I want to use the approach listed at http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WinGrid_Display_Row_Cell_Errors_Using_IDataErrorInfo.html  
but the issue is that in my case the e.Row.ListObject returns a BidingList . , whereas the example in this link expects a DataRowView . How did you resolve it in ur case, as you also had a business entity and not a DataRowView .

Pls advice. Is there any other better approach for it ?
using fragistics UltraValidator control, custom coding for cellupdate events, etc.

Thanks....

Parents Reply Children
No Data