I want the Print/PrintPreview method to pass a RadPrintDocument object that records whether the user printed the document.
0
Hristo
Telerik team
answered on 04 Apr 2018, 11:56 AM
Hello,
Thank you for writing back.
Printing in the spread control is handled slightly different compared to how printing is implemented our other controls. Actually, RadSpreadSheet is also working with RadPrintDocument objects, however, these objects are created dynamically and they are not exposed publically. I have logged a feature request in our feedback portal, here: ADD. RadSpreadsheet - expose an API notifying that a print or print preview job is underway. I have also updated your Telerik points. We will do our best to fix the issue in the R2 2018 release.
For the time being, you can use the workaround below handling the PrintPreview method: