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

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


public static void MakeResponseCompressed()
Public Shared Sub MakeResponseCompressed


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