Version

OnRowUpdating(GridRecord,Hashtable,Hashtable) Method

Fires the RowUpdating event. Called by the editing whenever a row is being updated.
Syntax
'Declaration
 
Public Overloads Function OnRowUpdating( _
   ByVal row As GridRecord, _
   ByVal values As Hashtable, _
   ByVal oldValues As Hashtable _
) As Boolean
public bool OnRowUpdating( 
   GridRecord row,
   Hashtable values,
   Hashtable oldValues
)

Parameters

row
Reference to the row object that is being updated.
values
Hashtable that contains all new values that about to be set to the cells of the row.
oldValues
Hashtable that contains all old values of the row cells.

Return Value

True if the event was canceled.
Remarks
If the grid contains templated columns or is bound to some of the fields from the data source, the values and oldValues must be updated in this event to add those missing values. Otherwise missing cells will be nulled out by the auto update operation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also