I develop MVC application in VS2010 and Telerik Reports with "Telerik reporting Tool", it gives me a .trdx file so I integrated that report to my project with Uri new Telerik.Reporting.UriReportSource()
; But now i want to pass some hidden parameters to this report
How can i do this? Please give me some advice
Thnx
Saul
I found something. I hope it helps you. Maybe you can modify and use it
$('#btnUpdateReport').click(function () {
// add the parameters to the controller parameters
var pId = $('#txtPortfolioId').val();
var viewer = $reportViewer.data('telerik_ReportViewer');
viewer.reportSource($.extend({}, viewer.reportSource(), { parameters: { 'portfolioId': pId } }));
});
http://www.telerik.com/forums/external-report-viewer-parameters