Skip to main content
Tab

CardViewEditItemTemplateContainer.KeyValue Property

Gets an object that uniquely identifies the cell that contains the template container.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public override object KeyValue { get; }

Property Value

Type Description
Object

An object that uniquely identifies the cell that contains the template container.

Remarks

The following example illustrates how to use the KeyValue property.

<dx:CardViewColumn FieldName="Notes">
    <EditItemTemplate>
        <a href="javascript:void(0);" onclick="OnEditLinkClick(this, '<%# Container.KeyValue %>')" id="LinkNotes">Click for editing…</a>
    </EditItemTemplate>
</dx:CardViewColumn>

Concept

Templates

Online Demo

ASPxCardView - Templates

See Also