DataGridTextColumn Error Checking

Feb 2, 2009 at 5:09 AM
Edited Feb 2, 2009 at 5:14 AM
I have  a bound data grid populated by an objectdataprovider.  I have a column named "Name" that when someone enters in some text, it must be unique in the datagrid.  How can I check when someone edits the cell if it already exists in the objectdataprovider, and if it does, return the focus back on to that cell.  Looking for some help.  TIA
Feb 5, 2009 at 3:22 AM
While BindingGroups help with row validation, what you want is validation at a higher level.  Here is an interested idea that can possibly help out,
Feb 7, 2009 at 4:42 PM
Thanks for pointing me to this interesting article, it has changed the way I do   Is there a way to "interrupt" or cancel leaving a cell.  I do my own delete function so when a user hits the delete key, I mark the record as dirty and refresh the collection.  Is it possible to just not allow the user to leave the cell if there is a duplicate entry?