Skip to main content
A newer version of this page is available. .
Tab

CardViewEditItemTemplateContainer.KeyValue Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

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