WebExportController Class

The ASP.NET specific descendant of the ExportController class.

Namespace: DevExpress.ExpressApp.Web.SystemModule

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


public class WebExportController :
Public Class WebExportController
    Inherits ExportController


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.



See Also