WebExportController Class
The ASP.NET Web Forms specific descendant of the ExportController class.
Namespace: DevExpress.ExpressApp.Web.SystemModule
Assembly: DevExpress.ExpressApp.Web.v24.1.dll
NuGet Package: DevExpress.ExpressApp.Web
#Declaration
public class WebExportController :
ExportController
#Remarks
Implements the base class’ Export abstract method. Within this method implementation, a System.IO.FileStream object is created and passed to the ExportController‘s base ExportCore method. The ExportController uses the XtraPrintingLibrary to export data to the specified stream in the required format. The resulting stream is passed to a client’s browser to be saved to a file. The file’s default name and extension are passed as well. The default file name is the exported View’s caption (see View.Caption). To manually send the stream content to a client’s browser, handle the WebExportController.CustomWriteToResponse event. To see an example of accessing the WebExportController, refer to the How to: Customize the Export Action Behavior topic.