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

Q: RadDropDownTree as Parameter

3 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 2
Michael asked on 27 Aug 2013, 01:29 PM
I have a Web Application that populates various controls that are used as parameters, i.e., 3 RadDropDownTrees, 4 RadComboBoxes with check boxes, and RadComboBox without check boxes.
I know I can use the data sources that populate the combo boxes, but I do not know if I can use the datasources for the RadDropDownTrees.

My question is can a RadDropDownTree be used as a parameter in reportViewer? And if so, how?

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 29 Aug 2013, 05:07 PM
Hello Michael,

Using the RadDropDownTree.OnentryAdded you can send the entered value to a report parameter using the report source object Parameters collection.

i hope this helps.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Michael
Top achievements
Rank 2
answered on 29 Aug 2013, 05:33 PM
Thank you for your response. I may have to use your suggestion and pass in the parameters to the reportViewer.

My real question is can a ReportViewer contain a dataSource that is formatted to populate a TreeView or DropDownTree and use it in the parameter section of the reportViewer?
0
Stef
Telerik team
answered on 03 Sep 2013, 01:18 PM
Hello Michael,

If you imply using ASP.NET DataSource components in Telerik Reporting, they are not supported.

We provide our own data source components. If you create a data access layer or other custom logic for data retrieval, we can recommend you to use Telerik Reporting ObjectDataSource component to wrap your data and use it as required in the report definition, e.g. for report's DataSource, items'  DataSource and parameter's AvailableValues.DataSource. The same business objects can be reused to create an ASP.NET ObjectDataSource for the TreeView/DropDownTree control.

If you need further help, please elaborate on the scenario, so we can provide you more accurate suggestions.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

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