Completed
Last Updated: 18 Aug 2015 08:18 by ADMIN
ADMIN
Stefan
Created on: 04 Mar 2014 09:07
Category: GridView
Type: Bug Report
2
FIX. RadGridView - RowValidating/RowValidated events does not get fired when a cell is in edit mode and RadGridView looses focus
Workaround: use the CellValidating event 
3 comments
ADMIN
Stefan
Posted on: 25 Mar 2014 16:31
Hi Jeff, please refer to the following thread, where I have addressed your questions: http://www.telerik.com/community/forums/gridview-row-level-editing-and-row-validation. 

Your comments do not concern this item, it is rather a feedback on the behavior you would like RadGridView to support. For such matters, it would be great if you post them in a forum/support thread, so we can discuss them and then we will add them if needed. 
Jeff
Posted on: 20 Mar 2014 19:59
http://www.telerik.com/forums/what-event-s-is-are-fired-when-the-pencil-icon-is-clicked
http://www.telerik.com/forums/radgridview---save-changes-to-a-rows-data-back-to-database
http://www.telerik.com/forums/cancel-row-edit
http://www.telerik.com/forums/in-rowvalidating-e-row-ismodified-doesnt-show-as-true-when-it-should
http://www.telerik.com/forums/radgridview-rowvalidating-event
http://www.telerik.com/forums/rowvalidating-not-firing
http://www.telerik.com/forums/rowvalidating-event-missing
http://www.telerik.com/forums/rowvalidating-problems
http://www.telerik.com/forums/esc-in-gridviewdatetimecolumn-inside-raddatagridview-after-i-did-an-e-cancel-true-in-row-validation
http://www.telerik.com/forums/how-to-validate-row-data
http://www.telerik.com/forums/rowchanged-question
http://www.telerik.com/forums/how-to-prevent-empty-rows-creation
Jeff
Posted on: 20 Mar 2014 03:55
The RowValidation events should be fired when the Row loses focus. This is important in the event the user clicks empty space, or if there is only one row. 

The edited values are committed to the databound object even though RowValidating/RowValidated have not been called.

The IsInEditMode property of the grid is false even though RowValidating/RowValidated have not been called.

When RowValidating is called, and e.Cancel is set to true, there is no way for the user to cancel the edit.