Skip to main content
All docs
V19.2
Tab

ASPxListBox.EnableSynchronizationOnPerformCallback Property

Gets or sets a value specifying whether automatic item synchronization should work when a callback initiated by the editor’s client ASPxClientComboBox.PerformCallback method is being proccessed on the server side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(false)]
public virtual bool EnableSynchronizationOnPerformCallback { get; set; }

Property Value

Type Default Description
Boolean **false**

true if automatic item synchronization should be in effect while processing a callback initiated by the ASPxClientComboBox.PerformCallback method; otherwise, false.

Remarks

In version 2009 vol 2, the automatic item synchronization (which by design should be disabled when callback mode is used) is still used to accumulate modifications made to an editor’s ASPxAutoCompleteBoxBase.Items collection via server code, while processing a callback sent by the editor’s client ASPxClientComboBox.PerformCallback method. In version 2009 vol 2.4, this incorrect behavior has been fixed by implementing suggestion S30076. However, it appears that some developers exploit the item synchronization mechanism relying on its old (incorrect) behavior. To provide developers with the capability to return to the old synchronization behavior, the EnableSynchronizationOnPerformCallback property is implemented.

Setting the EnableSynchronizationOnPerformCallback property to true switches off the fix (S30076) made in version 9.2 for automatic item synchronization, and returns the item synchronization behavior available in version 9.1.

Note

This property is intended to be used only by a limited number of developers whose projects were affected by the implementation of suggestion S30076. This suggestion’s implementation has resulted in a breaking change introduced to the automatic item synchronization mechanism of the ASPxComboBox and ASPxListBox editors.

Breaking Change: ASPxComboBox/ASPxListBox - Automatic item synchronization is now turned off when the Items collection is changed on callback

See Also