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

Reporting Dashboard

2 Answers 82 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 13 Jan 2010, 05:53 PM
I am in the process of converting an Access database application to a web application and now am down to the reports.  I have been able to create my report class and set up parameters for the user to specify at run time which will work for the simpler reports but some of the selection criteria and the supporting information they want to see may be too complicated for that method.  What I would really like to do is create my own reporting dashboard where they can select the report and specify the criteria then run the report.  I've been able to bind a report to a dataset returned from my reporting DAL but only with static criteria I pass in.  How can the report class read the criteria specified in a dashboard on my .aspx page to be passed to the DAL?

Tim

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 14 Jan 2010, 03:48 PM
Hi Tim,

Telerik Reporting has a distinctive and easy to use API, so that passing a value to the report parameters from your application is not a problem at all e.g.:

Telerik.Reporting.Report report = (Telerik.Reporting.Report)this.ReportViewer1.Report;
report.ReportParameters["MyParam"].Value = TextBox1.Text;

Another approach is to built the query for the report on the fly and filter the database directly (i.e. without using our report params). You can review the following video for more info on that approach: Telerik Reporting - Design Time Support for Parameterized Queries.

All the best,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Tim
Top achievements
Rank 1
answered on 15 Jan 2010, 10:39 PM
Well, that was easy!  I had actually viewed the video before but something wasn't clicking for me.  This time I got it!  Thanks Steve!
Tags
General Discussions
Asked by
Tim
Top achievements
Rank 1
Answers by
Steve
Telerik team
Tim
Top achievements
Rank 1
Share this question
or