I looked for this and didn't find anything so I am asking it here. I have a trdx report I built and am trying to get it to work in my application. I have a stored proc that requires 2 parameters, agentNumb and orderBy. I am using the uriReportSource and I cant seem to figure out how to pass it the sql parameters. The only way I can get it to work is to add the actual values to the trdx file in code view. Online I have found this, but still cant get it to work:
Dim uriReportSource As New Telerik.Reporting.UriReportSource()
ReportViewer1.ReportSource = uriReportSource
' Specifying an URL or a file path
uriReportSource.Uri = "Reports\AgentInvestorsList.trdx"
' Adding the initial parameter values
uriReportSource.Parameters.Add(New Telerik.Reporting.Parameter("@AGENT_NUMB", agentNumb))
uriReportSource.Parameters.Add(New Telerik.Reporting.Parameter("@ORDER_BY", orderBy))
Any help would be greatly appreciated.