I am getting a processing halt: Use the "New" keyword to create an object instance. In the code below, at the point Marked <<<<
Also, can I expect the above code to work, once the halt problem is solved? T4Table is once of several tables I want to hide/show based on data values from the report datasource.
Thanks for your help.
Imports System.ComponentModel |
Imports System.Drawing |
Imports System.Data |
Imports System.Windows.Forms |
Imports Telerik.Reporting |
Imports Telerik.Reporting.Drawing |
Imports Telerik.Reporting.Processing |
Private Sub DetailSection1_ItemDataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles DetailSection1.ItemDataBound |
Dim section As Telerik.Reporting.Processing.DetailSection = DirectCast(sender, Telerik.Reporting.Processing.DetailSection) |
' From the section object get the current DataRow |
Dim row As System.Data.DataRow = DirectCast(section.DataObject.RawData, System.Data.DataRow) |
If row("TierType").ToString = "4T" Then <<<< |
T4Table.Visible = True |
End If |
End Sub |
Also, can I expect the above code to work, once the halt problem is solved? T4Table is once of several tables I want to hide/show based on data values from the report datasource.
Thanks for your help.