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

For Sliverlight Q3 2012, How to prevent running report on load

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaspreet
Top achievements
Rank 1
Jaspreet asked on 08 Jan 2013, 11:04 AM
Hi,

I am using Q3 2012 Report Viewer control. How can I prevent running report automatically on load in Sliverlight? So I want clicking on Preview button only let the report to run on load. I have one parameter to report and I have made it's AutoRefresh to false already.

Thanks
Jaspreet.

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 11 Jan 2013, 11:45 AM
Hello Jaspreet,

One approach would be to edit the Silverlight ReportViewer toolbar template and add custom logic to the Refresh button, you can also entirely create custom UI for the report parameters.
Other option is to have report without data source and set the data source in the NeedDataSource event of the report and move your custom logic there i.e. evaluate the provided values for the ReportParameters collection.

Kind regards,
Stef
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

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