aspnet-devexpress-dot-web-dot-aspxverticalgrid-fadcbdee.md
Enables you to initialize added records.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public event ASPxDataInitNewRowEventHandler InitNewRecord
Public Event InitNewRecord As ASPxDataInitNewRowEventHandler
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. |
The InitNewRecord event is raised when a new record is added to the ASPxVerticalGrid. This occurs when:
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