Skip to main content
Tab

ASPxWebControl.MakeResponseCompressed() Method

Specifies that the response code (the HTML code of the web page) should be compressed on the server before sending it to the client.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public static void MakeResponseCompressed()

Remarks

A call to the MakeResponseCompressed method enables HTML code compression for the related web page. In contrast to using the DXEnableHtmlCompression key within the Web.Config file, the MakeResponseCompressed method allows you to enable HTML compression for individual web pages.

To learn more, see the following topics:

See Also