Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to save and restore a report document from a stream

$
0
0

The following example demonstrates how to save a report document to a stream via the PrintingSystemBase.SaveDocument method, and then, how to load it via the PrintingSystemBase.LoadDocument method.

Question Comments

Added By: Thomas R Melinsky at: 7/30/2013 5:09:28 AM    

This example crashes for me with the error X "The specified file cannot be loaded, because it either does not contain valid XML data or exceeds the allowed size." This happens just after hitting the "Load" button, and on the line ps.LoadDocument(stream). I am using 13.1.5.

Added By: jack edwards at: 5/2/2014 12:28:17 PM    

Yep,  same here

Added By: Ingvar (DevExpress Support) at: 5/5/2014 3:01:44 AM    Hi,

I have just tested this Code example, and it operates properly on my side. Would you please redownload this sample (I have reuploaded it just in case)? If the problem persists, create a separate ticket regarding this problem.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>