This is a migrated thread and some comments may be shown as answers.

Custom Validation for Row of RadGridView

1 Answer 173 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Muhammad Ummar
Top achievements
Rank 1
Muhammad Ummar asked on 21 Oct 2016, 06:52 AM

Hello,

I am using RadGridView in my WPF application along with IDataErrorInfo for Validation.

 

For every column in the grid, I am currently setting ValidatesOnDataErrors = "InViewMode". In case of validation errors, the cells with errors get a red validation border and the whole row gets a red background (as shown in the attachment).

 

My requirement is such that I want to remove the red background of the row and show one red validation border on the whole row instead of separate errors on the cells. I also want to remove the red icon from the row (as shown in attachment). So whenever there is an error in any cell, the whole row should get a validation border, and not the individual cells. Is there a way to do this?

1 Answer, 1 is accepted

Sort by
0
Muhammad Ummar
Top achievements
Rank 1
answered on 31 Oct 2016, 02:16 PM
Will any one please help me out on this?
Tags
GridView
Asked by
Muhammad Ummar
Top achievements
Rank 1
Answers by
Muhammad Ummar
Top achievements
Rank 1
Share this question
or