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

Refresh Button

1 Answer 228 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Engineer
Top achievements
Rank 1
Engineer asked on 01 Sep 2012, 09:47 AM
Refresh button is not working in my report.I use report viewer to display report (in asp.net mvc).When i hit the refresh button it didnot get latest data.What is problem in my code.

Telerik.Reporting.ObjectDataSource objectDataSource = new Telerik.Reporting.ObjectDataSource();
objectDataSource  = getData();

 Reports.MyReport report = new  Reports.MyReoprt();
 report.DataSource = objectDataSource;


 ReportViewer1.Report = report;
 ReportViewer1.RefreshReport();

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Sep 2012, 03:30 PM
Hi,

There is not enough information in your inquiry to understand what is wrong on your end. You can download and review a sample project using Telerik Reporting in MVC from the following code library: Using Telerik Web ReportViewer in ASP.NET MVC application.

Regards,
Steve
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 >

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