0 Answers 62 Views
Actions DataSources Installation Programming Report Designer - Web
Top achievements
Rank 1
Tristan asked on 06 May 2022, 01:58 PM | edited on 09 May 2022, 09:38 AM
Im trying to implement the SendEmail function in my web app for Telerik Reporting.

My setup is like this:

I tried putting it in both the toolboxArea as global settings.
The Email button in the toolbar when previewing still isnt showing.
Does anyone knows what im doing wrong here?

I also implemented the sendmail message function as explained here:

Kind Regards,

Telerik team
commented on 10 May 2022, 09:07 AM

Hi Tristan,

Currently, the report viewer's options are not exposed and for that reason, the  sendEmail: { enabled: true } setting in the initialization of the designer won't work. However, there is a workaround that you can apply:

1. Copy the telerikReportViewer- file to your Scripts folder. The file can be found in the installation folder of Telerik Reporting:

C:\Program Files (x86)\Progress\Telerik Reporting R1 2022\Html5\ReportViewer\js

2. Comment the following lines in the file:

  //if (!viewerOptions.sendEmail || !viewerOptions.sendEmail.enabled) {
        //    var toolbarSendEmailItem = $("[data-selector='" + selector + "']").find("a[data-command='telerik_ReportViewer_toggleSendEmailDialog']").closest(".k-item ");
        //    toolbarSendEmailItem.hide();
        //    return;

3. In the page of the designer, reference the js file:

 <script src="./Scripts/telerikReportViewer-"></script>

4. Add the implementation of the SendMailMessage in the ReportDesignerController.

I also voted for Set ReportViewer options in the WebReportDesigner feature request, so when there is an update on the status of the item, you will receive a notification. 

Please, let me know if I can help you further.

No answers yet. Maybe you can help?

Actions DataSources Installation Programming Report Designer - Web
Asked by
Top achievements
Rank 1
Share this question