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

Not Display report preview control (ej-reportviewer) by angular

Thread ID:





117572 Nov 11,2014 04:28 AM UTC Nov 11,2014 02:46 PM UTC JavaScript 1
Tags: ejReportViewer
Krittikorn Deeraksa
Asked On November 11, 2014 04:28 AM UTC

I got some problem to display simple report, this report without data. can not show in ej-ReportViewer. (I redirect to show it when missing rdl file)
(rdl Create By SQL DataTools but want to use in web without ReportServer , It work properly on your ASP.NET MVC Report Viewers Control both blank, and have data report)

please advise

div class="row control" id="reportviewer" ej-reportviewer=ej-reportviewer e-reportserviceurl="samplevalue" e-reportpath="path" e-processingmode="ej.ReportViewer.ProcessingMode.Local" e-datasources="ds"></div> <style type="text/css">     .control {         padding-left10px;         min-height680px !important;     } </style>

in Js file in same controller
$scope.samplevalue = [];  $scope.path = '/App_Data/Reports/SM/Blank.rdl';             $scope.ds = [{     value: [ ],     name: "AdventureWorksXMLDataSet" }];

Attachment: Blank_a2349521.zip

Mariya Joseph M [Syncfusion]
Replied On November 11, 2014 02:46 PM UTC

Hi KrittiKorn,

Thanks for the update.

It seems the virtual path which you have set for report path doesn’t contain the root operator (the tilde [~]) and the reportServiceUrl is not a valid one. We suggest you to add the root operator(~) to your report virtual path and give your WebApi service url to reportServiceUrl. Please refer the below code snippet for more details.


<div id="container" ej-reportviewer=ej-reportviewer e-reportserviceurl="samplevalue" e-reportpath="path" e-processingmode="mode"></div>

In js file:

<script type="text/javascript">

        angular.module('syncApp', ['ejangular']).controller('angularReportViewer', function ($scope) {

            $scope.samplevalue = '/api/RDLReport';

            $scope.path = '~/App_Data/Untitled.rdl';




We have a created a demo sample for your requirement and the same can be downloaded from the below.



Here is our online UG and API documentation. Please refer it for more details.




Please let us know, if you have any other concerns.



Mariya Joseph M.


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

or the page will be automatically redirected to 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