This is a migrated thread and some comments may be shown as answers.
Telerik report parameters from Dropdown
1 Answer 129 Views
This is a migrated thread and some comments may be shown as answers.
Robert Jakech
Top achievements
Rank 1
Robert Jakech asked on 14 May 2012, 06:04 PM
Dear Telerik.
I have say,3 Dropdown controls on my asp.net solution. Dp1,Dp2 and Dp3.
I want to select records from these dropdowns.
Click a button 'View'. This will fetch data from the db.
I can store this data fetched as a collection/datatable/dataset.
I will then pass the object(collection above) on the report to view my data/records on the report.

NOTE: I don't want to use the old fashion way of report parameters. Instead of fetching the data from the default report parameters, I want to use the dropdowns.

Please help!

1 Answer, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 15 May 2012, 04:39 PM
Hello Robert,

You can set the Report's parameters from your dropdowns. You can find the information needed in the Using Report Parameters programmatically help article.
In case you want to set the DataSource in runtime, please check the Using Parameters with the SqlDataSource component help article.
Also, to hide the ParametersArea in the web viewer you should set the ParametersAreaVisible property to false.

All the best,
Petio Petkov
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Asked by
Robert Jakech
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Share this question
or