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

ASPxHiddenField.SyncWithServer Property

Gets or sets a value that specifies whether the changes made to the ASPxHiddenField's property values on the client side can be automatically synchronized with the server.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(true)]
public bool SyncWithServer { get; set; }
<DefaultValue(True)>
Public Property SyncWithServer As Boolean

Property Value

Type Default Description
Boolean

true

true if values modified on the client are automatically synchronized with the server; otherwise, false.

Remarks

Use the SyncWithServer property to control whether automatic synchronization of the ASPxHiddenField control's values is available between the client and server sides.

Note that if you intend to use the ASPxHiddenField control only to pass values from the server to the client, and you don't require passing modified values from the client back to the server, it's recommended that you disable the SyncWithServer property. This allows you to minimize data transfer between the client and the server, by not including service information that describes the control's values and value types into the response.

See Also