- Home
- Forum
- ASP.NET MVC
- Toolbar Customization
Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.
We thank you for choosing Syncfusion� and appreciate your understanding.
Toolbar Customization
Hi,
in the last version of the Patched ReportViewer, there is a problem when I try to show only some buttons or hide some.
The Toolbar does not appear, but only when Unobtrusive Support is enabled.
There was a similar problem that involved this, but was the entire toolbar that was not rendering in the Unobtrusive mode.
This time if I use the ToolbarItems.All value, the buttons are showed, with other values not.
Thanks in advance
Andrea Perazzolo
SIGN IN To post a reply.
6 Replies
SM
Sundaraj Muthunarayanan
Syncfusion Team
July 29, 2015 09:10 AM UTC
Hi Andrea,
Thanks for using Syncfusion products.
We are able to reproduce this issue we have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Regards,
Sundaraj M
Thanks for using Syncfusion products.
We are able to reproduce this issue we have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Regards,
Sundaraj M
JA
Javier
May 9, 2016 12:34 PM UTC
Hi,
I'm testing the latest version of the suite and I have the same problem of Andrea.
I want to show only page navigation button and refresh, but when I include the code to customize the empty bar is displayed
I used this code:
@(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 &
Syncfusion.JavaScript.ReportViewerEnums.ToolbarItems.PageNavigation))
)
I tried showing other buttons (print, export) and the problem always happens.
It only works if I not include the sentence .ToolbarSettings or if I the show all toolbar like this:
@(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.All)
)
Thank you very much
Best reagrds
Javier Flores
JA
Javier
May 9, 2016 12:38 PM UTC
Hi,
Thank you very much
Best regards
Javier Flores
Attachment: report_36ea39f7.rar
YD
Yuvaraj Devarajan
Syncfusion Team
May 10, 2016 09:44 AM UTC
Hi Javier,
Thanks for contacting Syncfusion support.
Thanks for contacting Syncfusion support.
We have internally used the bitwise operator for ToolbarSettings items selection. So use the |(OR) operator instead of &(AND) operator to enable the toolbar items as shown in the below code example,
|
@(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))
) |
We have prepared a sample and it can be downloaded from the below location,
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/RDLReportSample481223422.zip
Please refer to the below UG Documentation for more details,
Regards,
Yuvaraj D
JA
Javier
May 10, 2016 12:41 PM UTC
Hi Yuvaraj D ,
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)
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 )
)
Thank you very much
Best regards
Javier Flores
YD
Yuvaraj Devarajan
Syncfusion Team
May 11, 2016 08:39 AM UTC
Hi Javier,
|
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.
|
Regards,
Yuvaraj D
SIGN IN To post a reply.
- 6 Replies
- 4 Participants
-
AP Andrea Perazzolo
- Jul 28, 2015 10:19 AM UTC
- May 11, 2016 08:39 AM UTC