Hello Everyone,
I just upgraded to the new version of Telerilk Reporting yesterday (6.2.13.110) and now when I pass my parameters in my code behind the parameters aren't being excepted. This worked in the version prior to this one and I'm not sure what has changed.
Here is my code that I was using previously to dynamically changed the parameters on the fly:
Any help would be greatly appreciated since my reports are quite useless without the ability to dynamically change the parameters.
Thanks,
Brad
I just upgraded to the new version of Telerilk Reporting yesterday (6.2.13.110) and now when I pass my parameters in my code behind the parameters aren't being excepted. This worked in the version prior to this one and I'm not sure what has changed.
Here is my code that I was using previously to dynamically changed the parameters on the fly:
Private
Sub
_GenerateReport()
Dim
SeasonReport
As
New
CISReports.NBA_PlayerShotChart()
' perform additional operations on the report object if needed
Dim
SeasonInstanceReportSource
As
New
Telerik.Reporting.InstanceReportSource()
SeasonInstanceReportSource.ReportDocument = SeasonReport
Me
.ReportViewer1.ReportSource = SeasonInstanceReportSource
Dim
SeasonReportSource =
Me
.ReportViewer1.ReportSource
SeasonReportSource.Parameters.Add(
"Season"
,
CInt
(cmbSeason.SelectedValue))
SeasonReportSource.Parameters.Add(
"SeasonTypeID"
,
CInt
(cmbSeasonType.SelectedValue))
SeasonReportSource.Parameters.Add(
"TeamAbbr"
, cmbTeams.SelectedValue)
SeasonReportSource.Parameters.Add(
"PlayerID"
,
CInt
(cmbPlayer.SelectedValue))
End
Sub
Any help would be greatly appreciated since my reports are quite useless without the ability to dynamically change the parameters.
Thanks,
Brad