Skip to main content
Tab

BackwardCompatibilitySettings.DataControlPreventLoadClientValuesForReadOnlyColumns Property

Specifies whether to prevent grid-like controls from loading their read-only column values from the client to the server.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
Boolean true

true to prevent controls from loading read-only column values to the server; otherwise, false.

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 demonstrates how to allow grid-like controls to load their read-only column values from the client to the server:

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