hello,
I find something to save the document directely avec the generation... But it's not working with the relerik reportviewer
| Warning[] warnings; |
| string[] streamids; |
| string mimeType; |
| string encoding; |
| string extension; |
| byte[] bytes = reportViewer1.LocalReport.Render( |
| "PDF", null, out mimeType, out encoding, out extension, |
| out streamids, out warnings); |
| FileStream fs = new FileStream(@"c:\output.pdf", FileMode.Create); |
| fs.Write(bytes, 0, bytes.Length); |
| fs.Close(); |
Do you have any solution to save directely the file on the serveur ?
thank you