Skip to content

Use WebDocumentViewerOperationLogger to store, retrieve, and process custom data in the document.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-web-viewer-document-custom-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Document Viewer - How to Store and Use Custom Document Data

This example shows how to serialize user data along with the document and use that data after the document is deserialized.

The application registers the WebDocumentViewerOperationLogger class descendant to save, load and process user data. The overridden CachedDocumentSourceSerializing method gets the category IDs displayed on a certain page and serializes them as custom data along with the document. The overridden CachedDocumentSourceDeserialized method retrieves custom data from the document and uses the category IDs obtained from the custom data to name the worksheets when exporting the document to XLS or XLSX format.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

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