This method allows customization of how forms associated with reports are deleted when deleting a report.
public override void DeleteTemplate(string fullReportSetName) { string customTemplatesPath = string.Format("C:\\ReportForms\\{0}", fullReportSetName); if (File.Exists(customTemplatesPath)) File.Delete(customTemplatesPath); }
Public Overrides Sub DeleteTemplate(fullReportSetName As String) Dim customTemplatesPath As String = String.Format("C:\\ReportForms\\{0}", fullReportSetName) If File.Exists(customTemplatesPath) Then File.Delete(customTemplatesPath) End If End Sub
Last edited by Joseph Adams, 2017-05-18 12:27:27