Just wanted to say thanks for the code snippet of how to trigger the validate event.
In my case, I was loading data that possibly contained errors ( when opening data into an editing form).The user must update these..
I wanted a way to have cell validation for when the user tried changing values.. but also needed to handle the user hits 'Save' without even giving the grid focus. ( so no validate events are fired)
So I just made this generic sub to fire off a validate event for every cell and then check the whole grid had no errors. I am loading a small amount of data, so works well.
Private Function IsValid(Grid As RadGridView) As Boolean
For r = 0 To Grid.Rows.Count -1
For c As Integer = 0 to Grid.Columns.Count -1
Dim row As GridViewRowInfo = Grid.Rows(r)
Dim column As GridViewColumn = Grid.Columns(c)
If column.IsVisible Then
Dim Value As Object = Grid.Rows(0).Cells(c).value
Dim cellValidating As CellValidatingEventArgs = New CellValidatingEventArgs(row, column, Value, Value, Nothing)
Grid.MasterTemplate.EventDispatcher.RaiseEvent(Of CellValidatingEventArgs)(EventDispatcher.CellValidating,Grid, cellValidating)
'Now to look through the row's checking for any errors (Validate event handle adds to the row Errortext)
For re = 0 To Grid.Rows.Count -1
if NOT String.IsNullOrWhiteSpace(CustomerGrid.Rows(re).ErrorText) Then Return false
Maybe helps someone