Skip to main content
A newer version of this page is available. .

ASPxSchedulerDataInsertedEventArgs.KeyFieldValue Property

Gets or sets the value of the key field for the appointment’s data record.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.1.dll

Declaration

public object KeyFieldValue { get; set; }

Property Value

Type Description
Object

A Object, representing a value of the key field.

Remarks

Use this property to manually set the key field value for the appointment’s data record if the data provider employs its own mechanism for calculating the ID value (e.g. autoincremented key field). Refer to the How to: Bind an ASPxScheduler to MS SQL Server Database (Step-by-Step Guide) document for a usage example.

The following code snippets (auto-collected from DevExpress Examples) contain references to the KeyFieldValue property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also