style type="text/css">
#reportviewer {
width: 100% !important;
height: 700px !important;
}
</style>
<div id="ControlRegion">
<div>
@(Html.EJ().ReportViewer("reportviewer")
.ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Remote)
.ReportPath("~/App_Data/Report.rdl")
.ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/ReportAPI")))
</div>
@(Html.EJ().ScriptManager())
</div>
Regards,
Anis
<title>Syncfusion RDL Sample</title>
<link rel='nofollow' href="~/content/bootstrap.min.css" rel="stylesheet" />
<link rel='nofollow' href="~/content/ejthemes/ej.widgets.core.min.css" rel="stylesheet" />
<link rel='nofollow' href="~/content/ejthemes/default-theme/ej.widgets.all.min.css" rel="stylesheet" />
<link rel='nofollow' href="~/content/default.css" rel="stylesheet" />
<link rel='nofollow' href="~/content/reportdefault.css" rel="stylesheet" />
<script src="~/Scripts/jquery-1.11.3.min.js"></script>
<script src="~/scripts/jquery.easing.1.3.min.js"></script>
<script src="~/scripts/ej.web.all.min.js"></script>
<script src="~/Scripts/ej.unobtrusive.min.js"></script>
<script src="~/Scripts/ej.culture.ar-TN.js"></script>
<body style="overflow: hidden; position: static; margin: 0px; padding: 0px; width: 100%; height: 100%">
<div style="width:100%; height:100%; position:absolute;">
@(Html.EJ().ReportViewer("reportsample")
.ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Remote)
.ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/ReportApi"))
.ReportPath("~/App_Data/Sample_new.rdl")
.Locale("ar-TN")
)
</div>
</body> |