TreeListSettingsDataSecurity.PreventLoadClientValuesForReadOnlyColumns Property
Specifies whether to load read-only column values from the client to the server side.
Namespace: DevExpress.Web.ASPxTreeList
Assembly: DevExpress.Web.ASPxTreeList.v24.1.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. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to PreventLoadClientValuesForReadOnlyColumns |
---|---|
ASPxTreeList |
|
Remarks
Use the PreventLoadClientValuesForReadOnlyColumns property to specify whether to load read-only column values from the client to the server side.
ASPxTreeList.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
In version 17.2, we’ve changed this API behavior to improve data security of the DevExpress Tree List web control.
Breaking Change: The A read-only column’s editors reset client values to initial server values topic illustrates details and describes how to revert to the previous behavior (degrading data security).
The PreventLoadClientValuesForReadOnlyColumns property has priority over the DataControlPreventLoadClientValuesForReadOnlyColumns property.