Tab
A newer version of this page is available. Switch to the current version.

ASPxGridLookup.KeyFieldName Property

Gets or sets the name of the data source key field.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue("")]
public string KeyFieldName { get; set; }
<DefaultValue("")>
Public Property KeyFieldName As String

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.

See Also