@(Html.EJ().ReportViewer("reportsample")
.ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Remote)
.ReportServiceUrl(VirtualPathUtility.ToAbsolute("~/api/RDLReport"))
.ReportPath("~/App_Data/GroupingAgg.rdl")
.ToolbarSettings(tb=> tb.Items(Syncfusion.JavaScript.ReportViewerEnums.ToolbarItems.Refresh | Syncfusion.JavaScript.ReportViewerEnums.ToolbarItems.PageNavigation))
) |
I´m testing the example but return this error when execute,
Exception Details: System.IO.FileLoadException: Can not load file or assembly 'Syncfusion.EJ, Version=14.1400.0.41, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The assembly manifest definition does not match the reference to the assembly. (Exception HRESULT: 0x80131040)
|
Sorry for the inconvenience caused,
In the previously shared sample, “Syncfusion.EJ” assembly is referred to Framework 4.5 version assembly instead of Framework 4.0 for MVC4 Syncfusion assemblies. So, please refer to the EJ.ReportViewer assembly in Framework 4.0 version(14.1400.0.41) to resolve this issue. Also, we have modified the previously shared sample and it can be downloaded from the below location,
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/ReportSampleMVC-930359408.zip
|
Anyway, I also testing putting the option of a single button (without &) in my proyect and did not work (also test more options with |):
@(Html.EJ().ReportViewer("reportviewer")
.ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Local)
.ReportPath("~/App_Data/GroupingAggregate.rdlc").ReportServiceUrl("/api/ReportAPI")
.ToolbarSettings( tb => tb.Items
(Syncfusion.JavaScript.ReportViewerEnums.ToolbarItems.Refresh )
)
|
We are unable to reproduce the mentioned issue at our end. We have prepared a video sample and it can be downloaded from the below location,
If the issue still persists, then please share the issue reproducible sample or video to validate the mentioned issue at our end.
|