Skip to main content
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET 6.0+ platform documentation. This link will take you to the parent topic of the current section.

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

Export_Web

#Implements

See Also