0

I'm have a hard time trying how to figure out a problem with a validation Rule, I have a datagrid with some columns, and the columns can't have a same value in different rows, I can display a error in one of the duplicate rows, but the problem is, if I fix the row which has no error, the row with error continue with a red border, someone might know if there is a way to when I change a cell value, a force a validation update in all the rows of my datagrid?

Thanks in advance.

  • What validation mechanism are you using? If you use `INotifyDataErrorInfo`, you can fire an event telling the grid that the validation errors for the entire item/row have changed, but that requires the client to have .NET 4.5 installed. – Mike Strobel Nov 10 '14 at 17:29
  • Actually I'm inheriting from ValidationRule. – Bruno Joaquim Nov 10 '14 at 17:32

0 Answers0