문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top