protected void xrInforme_RestoreReportDocumentFromCache(object sender, DevExpress.XtraReports.Web.RestoreReportDocumentFromCacheEventArgs e) { Stream stream = Page.Session[e.Key] as Stream; if (stream != null) { e.RestoreDocumentFromStream(stream); } }
protected void ASPxDocumentViewer1_RestoreReportDocumentFromCache(object sender, DevExpress.XtraReports.Web.RestoreReportDocumentFromCacheEventArgs e) { Stream stream = Page.Session["report"] as Stream; if (stream != null) { e.RestoreDocumentFromStream(stream); } }