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

ASP.NET Parametrized Report

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 01 Jul 2014, 11:38 AM

HI,

I am new to using Telerik Reporting but I am looking to implement it in an ASP.NET website. I am looking to do something like this demo

ASP.NET Demo

My problem is that I cannot figure out how to properly set up the report viewer on my webpage to supply parameters to my report, which is in a separate project. And if there is any initialization in the report class to do? I have downloaded the reporting demo's but no examples of passing parameters are included.  I have searched the forums but i cannot find any clear tutorials/solutions

I am using;
 
Telerik UI  ver.  2014.1.403.45
Telerik Reporting Q2 2014 ver. 8.1.14.618

Your help would be much appreciated.
Marc

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 03 Jul 2014, 04:03 PM
Hello Marc,

The viewer displays a report, which is set through a report source object. The values passed through the ReportSource.ReportSource.Prameters collection are mapped by key to the report's ReportParameters collection. Thus the sent key should exist in the report.

Details about report source and their role, and report parameters and how to add them are available in the following articles:


Report parameters can be used to filter the data in the report by applying a filter expression or by using a parameterized SQL query (or other data retrieval method). The articles below illustrate filtering on data retrieval:


Let us know if you need any further help.


Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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