This is a migrated thread and some comments may be shown as answers.

Telerik Report Not Receiving Parameters

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 2
Brad asked on 23 Jan 2013, 03:05 PM
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:

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

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 24 Jan 2013, 05:59 PM
Hello Bradley,

I noticed you have opened a support ticket with the same question and updated it that the issue is resolved.
As there were no problems with the provided code at our side, let us know if you still have any questions.

Kind regards,
Stef
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Brad
Top achievements
Rank 2
Answers by
Stef
Telerik team
Share this question
or