New to Telerik Reporting? Download free 30-day trial

Adding Extra Fields to the Email Form in the Html5ReportViewer

Environment

Product Progress® Telerik® Reporting
Report Viewer HTML5 Report Viewer

Description

In this article, you can find out how to pass some extra parameters from the report viewer email form to the SendMailMessage method of the ReportsController.

Solution

The SendEmail properties get passed from the viewer. They will be received as an instance of the MailMessage class in the ReportsController SendMailMessage method.

Another option is to use the sendEmailEnd(e, args) event handler of the viewer to modify any of the above properties that are available in the args parameter and then split out the needed information from this property in the controller and use it as needed.

See Also

In this article