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

Genrate Report Based on Combobox selected value

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
venkateswararao ch
Top achievements
Rank 1
venkateswararao ch asked on 29 Jan 2010, 05:45 AM

I was looking to get the reports by passing parameter in Combobox to storedprocedure to get result.

Please help me with example.

Regards,

Venkat

1 Answer, 1 is accepted

Sort by
0
Steve
Top achievements
Rank 2
Veteran
answered on 30 Jan 2010, 08:16 PM
So I'm assuming your reports are stored in the DB by ID and Name?  So bind the ID to the DataValueField of the combo, the Name to the DataTextField.

Create a button to export, and in it's Click event perhaps have a switch which creates the report object based on the combos selected value, and passes it to this Export function
http://www.telerik.com/support/kb/reporting/designing-reports/exporting-a-report-to-pdf-programmatically.aspx



Tags
General Discussions
Asked by
venkateswararao ch
Top achievements
Rank 1
Answers by
Steve
Top achievements
Rank 2
Veteran
Share this question
or