Skip to main content
All docs
V26.1
  • Tab

    CardViewEditItemTemplateContainer.KeyValue Property

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

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v26.1.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