Tab
A newer version of this page is available. Switch to the current version.

ASPxAutoCompleteBoxBase.DataSecurityMode Property

Provides the capability to restrict setting the editor value on the client side to values listed in the server ASPxAutoCompleteBoxBase.Items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(DataSecurityMode.Default)]
public DataSecurityMode DataSecurityMode { get; set; }
<DefaultValue(DataSecurityMode.Default)>
Public Property DataSecurityMode As DataSecurityMode

Property Value

Type Default Description
DataSecurityMode

Default

One of the DataSecurityMode enumeration values.

Remarks

By default, the DataSecurityMode property is set to the Default value. This means that a list editor allows adding new list items via client code and synchronizes modifications to this list with the server ASPxAutoCompleteBoxBase.Items collection if the ASPxAutoCompleteBoxBase.EnableSynchronization property is enabled. A list editor's server value may be modified by an end-user either by selecting list items added via client code or by entering new values directly into an editor's edit box. In this scenario, it is recommended to HTML encode the combo box item's content using the following: