Hi,
I've poured over numerous documents for many hours and can not find a resolution.
Inside the TRDX file there is a SQL statement, it is hard coded to 'WHERE ProjectId = 1234'
When I create a report parameter and add to the UriReportSource, it never works.
The SqlDataSource has this parameter
<Parameters>
<SqlDataSourceParameter DbType="Int32" Name="@ProjectId" />
</Parameters>
At the bottom of the .trdx file, it has this parameter.
<ReportParameters>
<ReportParameter Name="ProjectId" Type="Integer" Visible="True">
<Value>
<String>= Parameters.ProjectId.Value</String>
</Value>
</ReportParameter>
</ReportParameters>
C# on reporting view page,
Telerik.Reporting.Parameter p = new Telerik.Reporting.Parameter();
p.Name = "ProjectId";
p.Value = 1234;
uriReportSource.Parameters.Add(p);
rpvCustom.ReportSource = uriReportSource;
Any help is greatly appreciated, my client is creating these reports with the standalone designer, but we can only get results with hard coding.