Validation examples / CTP datagrid

Sep 5, 2008 at 11:05 AM
Hi

is it possible the get a validation example for the new datagrid ?

Regards
Klaus
Coordinator
Sep 5, 2008 at 12:22 PM
Row validation isn't actually in the CTP but will be in the v1 release.  However, normal property binding validation works.  For an example of that see this thread, http://www.codeplex.com/wpf/Thread/View.aspx?ThreadId=34776
Sep 5, 2008 at 2:04 PM
vinsibal

Row validation means to keep the cursor in a row until all errors are corrected?

Regards
Klaus
Coordinator
Sep 5, 2008 at 4:13 PM
Row validation is tied in with the BindingGroup feature so you can specify item-level validation in the DataGrid.  When validation fails there will be a default behavior where the row is not committed but that doesn't mean the cursor is kept on the row until all errors are corrected.