I have a table in telerik reporting. I then proceeded to add a row group. This adds a "column" on the left of the table for the group.
If I set this "column" to have a width of 0 (e.g. 0cm), and then I try to create an output for the report to pdf using code below, I get a null reference exception on the last line shown below (I have not included other lines that follow).
If I set the "column" for the row grouping to a width other than zero (e.g. 0.1 cm, 1cm, 2cm, etc) this null reference exception doesn't occur.
I found this as I was trying to "hide " that column (for now I just did a work around where I set the width to 0.1cm, set the text to white (against a white background and moved the table 0.1cm to the left to make it look consistent with other tables)
If CertReportBook.Reports.Count > 0 Then Dim instanceReportSource As New Telerik.Reporting.InstanceReportSource() instanceReportSource.ReportDocument = CertReportBook Dim reportProcessor As New ReportProcessor() Dim tcfiletype As String = "PDF" Dim result As RenderingResult = reportProcessor.RenderReport(tcfiletype, instanceReportSource, Nothing)