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

ASPxGridDataSecuritySettings.PreventLoadClientValuesForReadOnlyColumns 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

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean PreventLoadClientValuesForReadOnlyColumns { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

An enumeration value.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

Use the PreventLoadClientValuesForReadOnlyColumns property to specify whether to load read-only column values from the client to the server side in the ASPxGridView, ASPxCardView and ASPxVerticalGrid controls.

ASPxGridView.SettingsDataSecurity.PreventLoadClientValuesForReadOnlyColumns = DefaultBoolean.True;
ASPxCardView.SettingsDataSecurity.PreventLoadClientValuesForReadOnlyColumns = DefaultBoolean.True;
ASPxVerticalGrid.SettingsDataSecurity.PreventLoadClientValuesForReadOnlyColumns = DefaultBoolean.True;

If the PreventLoadClientValuesForReadOnlyColumns property is set to Default, access to read-only values from the server side depends upon the DataControlPreventLoadClientValuesForReadOnlyColumns property setting.

Note

See Also