If I understand your requirement correctly, you need to append the DateTime value to the file name when exporting. It seems that you have found a suitable approach. Calling the RunExport method passing the desired file name as an argument is the proper way to do it. It is just necessary to concatenate the strings: "AlarmsReport" + DateTime.Now.ToString("yyyyMMdd") + ".xlsx".
If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Disregard. figured it out myself.
spreadExporter.RunExport(@"C:\#support\Reports\AlarmsRpt\AlarmsReport" + DateTime.Now.ToString("yyyyMMdd") + ".xlsx", renderer);