This is a migrated thread and some comments may be shown as answers.

How to stream the excel file to cloud

2 Answers 10 Views
SpreadStreamProcessing
This is a migrated thread and some comments may be shown as answers.
Pushpdeep
Top achievements
Rank 1
Pushpdeep asked on 13 Jul 2018, 05:59 PM

I have a use case to create the excel file using RadSpreadStreamProcessing and then upload it to the blob in cloud. Could you please share me an example if we are able to do so?

Please note this is possible using RadSpreadProcessing but would like to check with RadSpreadStreamProcessing(because it is relatively fast)

2 Answers, 1 is accepted

Sort by
0
Accepted
Tanya
Telerik team
answered on 16 Jul 2018, 02:25 PM
Hello Pushpdeep,

I just replied in the support ticket you have submitted and will post the reply here as well in case anyone else encounters the same question.

From the example you have already found, you can replace the FileStream instance with an object of type MemoryStream. The CreateWorkbookExporter() method accepts a parameter of type Stream. Since MemoryStream and FileStream classes both derive from the base Stream class, you can replace them with the type you prefer to use.

Hope this is helpful.

Regards,
Tanya
Progress Telerik

0
Pushpdeep
Top achievements
Rank 1
answered on 18 Jul 2018, 10:44 AM

Issue resolved and details can be found here

https://www.telerik.com/account/support-tickets/view-ticket?threadid=1176269

Tags
SpreadStreamProcessing
Asked by
Pushpdeep
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Pushpdeep
Top achievements
Rank 1
Share this question
or