Skip to main content
Tab

CardViewColumn.LoadReadOnlyValueFromDataModel Property

Specifies whether the column’s read-only values can be loaded from the client to the server side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public virtual bool LoadReadOnlyValueFromDataModel { get; set; }

Property Value

Type Default Description
Boolean true

true to load read-only values on the server side; otherwise, false.

Remarks

Web Forms:

<dx:ASPxCardView ID="cardView" >
    <Columns>
        <dx:CardViewTextColumn FieldName="ProductName" LoadReadOnlyValueFromDataModel="False" />
    </Columns>
</dx:ASPxCardView>

MVC:

settings.Columns.Add(column => {  
    column.FieldName = "ProductName";
    column.LoadReadOnlyValueFromDataModel = false;
}); 
See Also