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

BackwardCompatibilitySettings.DataControlAllowReadUnexposedColumnsFromClientApiDefaultValue Property

Specifies whether to disable client-side access to data source fields that are bound to columns and these columns are hidden in the control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

NuGet Package: DevExpress.Web

Declaration

public bool DataControlAllowReadUnexposedColumnsFromClientApiDefaultValue { get; set; }

Property Value

Type Description
Boolean

true, to enable access to data source fields that are bound to columns and these columns are hidden in the control; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataControlAllowReadUnexposedColumnsFromClientApiDefaultValue
ASPxWebControl
.BackwardCompatibility .DataControlAllowReadUnexposedColumnsFromClientApiDefaultValue

Remarks

The DataControlAllowReadUnexposedColumnsFromClientApiDefaultValue property controls client-side access to unexposed data source fields if the grid-like controls’ ASPxGridDataSecuritySettings.AllowReadUnexposedColumnsFromClientApi and/or the tree list’s TreeListSettingsDataSecurity.AllowReadUnexposedColumnsFromClientApi properties are set to Default.

Note

In version 18.1, we’ve changed this API behavior to improve data security of grid-like DevExpress web controls.

Breaking Change: The Specificity of accessing data field values from a client API of grid-like web controls topic illustrates details and describes how to revert to the previous behavior (degrading data security).

Example

The following example illustrates how to enable client-side access to all grid-like controls’ data source fields that are bound to columns and these columns are hidden in the control.

Global.asax:

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