Hi David,
We have provided the solution for changing the export file name as like a workaround in earlier. Now, we have changed the support as properly in report viewer with event argument. Please make use of the exportItemClick event to change the file name of the exporting document from 17.1.0.38 version as shown below.
<script type="text/javascript">
$(function () {
$("#viewer").ejReportViewer(
{
reportServiceUrl: "/api/ReportsApi",
reportPath: '~/App_Data/SalesOrderDetail.rdl',
exportItemClick: "onExportItemClick",
});
});
function onExportItemClick(args) {
args.fileName = 'DemoReport';
}
</script>
But we have found some issue in updating filename hence we have generated the updated script patch file in version 17.1.0.38 which can be downloaded from below location,
Regards,
Mageshyadav.M