Back to Devexpress

ASPxHiddenField.SyncWithServer Property

aspnet-devexpress-dot-web-dot-aspxhiddenfield-d294b0ab.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

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

HiddenField

ASPxHiddenField Class

ASPxHiddenField Members

DevExpress.Web Namespace