We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Can the ASP.NET/MVC report viewer render a RDLC file store in Azure storage

Thread ID:





131960 Aug 5,2017 07:11 AM UTC Aug 9,2017 05:51 AM UTC ASP.NET MVC 3
Tags: ReportViewer
James Lau
Asked On August 5, 2017 01:53 PM UTC

Hi,We are developing a web application and want to store all rdlc files as Azure blob. How to configure report viewer to load it back?Thanks

Yuvaraj Devarajan [Syncfusion]
Replied On August 7, 2017 12:25 PM UTC

Hi James, 

Thanks for contacting Syncfusion support.  

Our ReportViewer has support to pass the RDLC file as a stream in WebAPI controller. So, you can download the RDLC file from Azure blog then load the RDLC file as a stream in WebAPI controller as shown in below code example,  

        public void OnInitReportOptions(ReportViewerOptions reportOption) 
            byte[] byteArray = null; 
            if (reportOption.ReportModel.ReportPath.StartsWith("http:/") || reportOption.ReportModel.ReportPath.StartsWith("https:/")) 
                var webClient = new System.Net.WebClient(); 
                    byteArray = webClient.DownloadData(reportOption.ReportModel.ReportPath); 
                    Stream fileStream = new MemoryStream(byteArray); 
                    reportOption.ReportModel.Stream = fileStream; 
                catch (System.Net.WebException webEx) 
Please refer to the below UG documentation link to create a ReportViewer sample, 

You can obtain the JavaScript ReportViewer samples from the below build installed location, 
%userprofile%\AppData\Local\Syncfusion\EssentialStudio\version\JavaScript\ samples\web\reportviewer  

We have prepared a sample and it can be downloaded from, 

Yuvaraj D. 

James Lau
Replied On August 8, 2017 07:44 AM UTC

Thank you so much. Yuvaraj

Yuvaraj Devarajan [Syncfusion]
Replied On August 9, 2017 05:51 AM UTC

Hi James, 
Thanks for the update. We are happy to hear that your problem is resolved. 
Yuvaraj D. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon