Skip to main content
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.v23.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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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