Skip to main content
Tab

ASPxVerticalGrid.InitNewRecord Event

Enables you to initialize added records.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public event ASPxDataInitNewRowEventHandler InitNewRecord

Event Data

The InitNewRecord event's data class is ASPxDataInitNewRowEventArgs. The following properties provide information specific to this event:

Property Description
NewValues Gets a dictionary that contains the new field name/value pairs for the new row.

Remarks

The InitNewRecord event is raised when a new record is added to the ASPxVerticalGrid. This occurs when:

  • the AddNewRecord method is called;
  • an end-user has clicked on the New command button.

Use the event parameter’s NewValues property to specify the values in the new record. To specify values of hidden rows, handle the ASPxVerticalGrid.RecordInserting event.

See Also