GridLookupSettings.KeyFieldName Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public string KeyFieldName { get; set; }
Public Property KeyFieldName As String

Property Value

Type Description
String

A String value that specifies the name of the data source key field.

Remarks

NOTE

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