Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.61 KB

File metadata and controls

34 lines (22 loc) · 2.61 KB

Reporting for ASP.NET Core - How to Manage Events of a Cached Document and Pass Custom Data to the Exported Document

This example creates and registers a descendant of our WebDocumentViewerOperationLogger class to attach the XlSheetCreated event handler to the document.

This example also illustrates the technique used to restore event handlers after a document is serialized in the cache and all event handlers are detached.

Run the application and select Export to XLSX:

Export to XLSX

The product category is used to rename worksheets in the exported XLSX file. The category is displayed in the report on the page from which the worksheet originated.

Exported XLS file with Renamed Worksheets

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)