AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageGrid..::..DataKeyItems Property

The key field/value pairs identifying the row most recently selected for edit, persisted across postbacks via XML serialisation into ViewState. The setter is protected internal — the grid populates it during the Edit command; the host reads it to associate an edit-form save with the right row.

Namespace:  AdvantageCMS.Web.UI.Admin
Assembly:  AdvantageCMS.Web.UI (in AdvantageCMS.Web.UI.dll)

Syntax


public List<GridDataKeyValue> DataKeyItems { get; set; }

Field Value

The selected row's keys, or an empty list if no row is currently selected (and after the Add toolbar button is clicked, since Add clears selection state).