Version

RowAdding Event (EditingCore)

Event that is fired every time a row is about to be added. Handle this event to do manual update when EditingCore.AutoCRUD is set to false.
Syntax
'Declaration
 
Public Event RowAdding As RowAddingHandler
public event RowAddingHandler RowAdding
Event Data

The event handler receives an argument of type RowAddingEventArgs containing data related to this event. The following RowAddingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel (Inherited from Infragistics.Web.UI.GridControls.EditingEventArgs)If set to true from inside an event handler the edit is not carried onto the data source and old values are returned to the grid.
RowID (Inherited from Infragistics.Web.UI.GridControls.EditingEventArgs)ID of the row the update event is associated with.
UnboundValues New unbound column values. The dictionary consists of the new values to be set on the row's unbound cells. The hash key is the key of corresponding column and the value is the new value to be set. If the values are alternated in the dictionary they are applied to the grid.
Values New values. The hashtable consists of the new values to be set on the row cells. The hash key is the key of corresponding column and the value is the new value to be set. If the values are alternated in the hashtable they are applied to the grid and carried over to the data source as well.
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