aspnet-devexpress-dot-web-dot-verticalgriddatarow-ff845ca3.md
Specifies whether the column’s read-only values can be loaded from the client to the server side.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(true)]
public virtual bool LoadReadOnlyValueFromDataModel { get; set; }
<DefaultValue(True)>
Public Overridable Property LoadReadOnlyValueFromDataModel As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to load read-only values on the server side; otherwise, false.
|
Web Forms:
<dx:ASPxVerticalGrid ID="verticalGrid" >
<Columns>
<dx:VerticalGridDataRow FieldName="ProductName" LoadReadOnlyValueFromDataModel="False" />
</Columns>
</dx:ASPxGridView>
MVC:
settings.Columns.Add(column => {
column.FieldName = "ProductName";
column.LoadReadOnlyValueFromDataModel = false;
});
See Also
Breaking Change: A read-only column's editors reset client values to initial server values
ASPxGridDataSecuritySettings.PreventLoadClientValuesForReadOnlyColumns