WebExportController.CustomWriteToResponse Event

Occurs after the data represented by the ExportController.Exportable List Editor has been exported.

Namespace: DevExpress.ExpressApp.Web.SystemModule

Assembly: DevExpress.ExpressApp.Web.v18.1.dll


public event EventHandler<CustomWriteToResponseEventArgs> CustomWriteToResponse

The event handler receives an argument of the CustomWriteToResponseEventArgs type. The CustomWriteToResponseEventArgs properties provide information specific to this event.

By default, after data is exported to a stream, the stream content is sent to a client's browser with the help of the HttpResponse object and the execution of the page is stopped. Handle this event to manually send the stream content to a client's browser. Set the handler's Handled parameter to true to cancel the default behavior.