I downloaded the latest reports version (6.1.12.611) and after fixing all the breaking code changes I now receive the following error when attempting to retrieve the reportheader section in code behind:
Unable to cast object of type Telerik.Reporting.Processing.PageSection to type Telerik.Reporting.Processing.Group
The commented out line was the original code which fails with the same error. The error is thrown on any attempt to retrieve the Report.ReportHeader property (same error in the watch window).
Unable to cast object of type Telerik.Reporting.Processing.PageSection to type Telerik.Reporting.Processing.Group
The commented out line was the original code which fails with the same error. The error is thrown on any attempt to retrieve the Report.ReportHeader property (same error in the watch window).
Private
Sub
Table1_NeedDataSource(sender
As
Object
, e
As
System.EventArgs)
Handles
Table1.NeedDataSource
Dim
tbl
As
Telerik.Reporting.Processing.Table = TryCast(sender, Processing.Table)
Dim
obj
As
Object
= tbl.Report.ReportHeader
' Dim sect As Processing.ReportSection = TryCast(Processing.ElementTreeHelper.GetChildByName(tbl.Report, "ReportHeaderSection1"), Processing.ReportSection)
End
Sub