ASPxScheduler.EnableCallbackCompression Property

Gets or sets whether the callback result data compression is enabled.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

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

Property Value

Type Default Description
Boolean

true

true to compress data stream; otherwise, false.

Remarks

This property is in effect if the ASPxScheduler.EnableCallBacks property is set to true.

When operating via callbacks, the ASPxScheduler control enables callback results generated for the control on the server to be sent compressed for compression-enabled browsers, improving application performance. Callback result compression provides faster transmission time between the server side and compression-enabled browsers.

To exchange the compressed data, both server and a client should agree to do so. The browser sends a header indicating that it accepts compressed content (gzip and deflate are two compression schemes): Accept-Encoding: gzip, deflate. The ASPxScheduler checks if encoding is allowed by the browser, and sends a response with the compressed content: Content-Encoding: gzip

NOTE

The EnableCallbackCompression property is not in effect if IIS HTTP compression is enabled.

NOTE

The callback compression is enabled for the entire web site by default. To learn more see the Callback Compression topic.

See Also