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,
WebAPI:
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();
try
{
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,
Regards,
Yuvaraj D.