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

IDataErrorInfo Validation

1 Answer 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Iavor
Top achievements
Rank 1
Iavor asked on 27 Jul 2020, 12:09 PM
Is it possible, and if yes how, to make IDataErrorInfo validation not mandatory? 

My issue is that user cannot leave the cell when data in it is not valid. I would like to have all the suff like border, outline etc but to be able to leave the cell or the row.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 30 Jul 2020, 11:35 AM

Hello Iavor,

The cell validation of the RadGridView control forces the focus on the cell (when currently editing) in order to avoid invalid data in the row's data item. To leave the cell, you will need to commit valid data or cancel the edit.

Also, if you want to show validation errors in the cases when the cell is not in edit mode, you can use a different validation mode. You can read more about this in the help documentation.

Regards,
Martin Ivanov
Progress Telerik

Tags
GridView
Asked by
Iavor
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or