Here's my code (with hard code values for testing of course):
In my aspx.vb page:
BNID =
"1270"
System.Web.HttpContext.Current.Session(
"BNID") = BNID
Dim Report As Telerik.Reporting.Report
Report =
New DataEntryScreen
Report.ReportParameters(0).Value = BNID
reportBook.Reports.Add(Report)
BNID =
"1271"
System.Web.HttpContext.Current.Session(
"BNID") = BNID
Dim Report2 As Telerik.Reporting.Report
Report2 =
New DataEntryScreen
Report2.ReportParameters(0).Value = BNID
System.Web.HttpContext.Current.Session(
"BNID") = BNID
reportBook.Reports.Add(Report2)
ReportViewer1.Report = reportBook
In my DataEntryScreen.vb page:
Public
Sub New()
InitializeComponent()
'Grab the BNID to use
Dim BNID As String = System.Web.HttpContext.Current.Session("BNID")
'Populate the Parameters
Me.DataEntryDetailsReport1.ReportParameters(0).Value = BNID.ToString
End Sub
Any help?