ASPxGridLookup.KeyFieldName Property
Gets or sets the name of the data source key field.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A String value that specifies the name of the data source key field. |
Remarks
Setting this property is required for the editor to properly process item selection, sorting, paging, and other operations.
Note
The values contained in the key field must be unique.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the KeyFieldName 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