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

BackwardCompatibilitySettings.DataControlPreventLoadClientValuesForReadOnlyColumns Property

Specifies whether to load read-only column values from the client to the server side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public bool DataControlPreventLoadClientValuesForReadOnlyColumns { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to DataControlPreventLoadClientValuesForReadOnlyColumns
ASPxWebControl
.BackwardCompatibility .DataControlPreventLoadClientValuesForReadOnlyColumns

Remarks

The DataControlPreventLoadClientValuesForReadOnlyColumns property controls access to client values of read-only columns on the server side if grid-like controls’ PreventLoadClientValuesForReadOnlyColumns and/or PreventLoadClientValuesForReadOnlyColumns properties are set to Default.

Note

Example

The following example illustrates how to allow controls to load their read-only column values from the client to the server side.

Global.asax:

void Application_Start(object sender, EventArgs e) {
    ASPxWebControl.BackwardCompatibility.DataControlPreventLoadClientValuesForReadOnlyColumns = false;
}
See Also