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

Report Viewer Not Refreshing on Form Load?

2 Answers 260 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 11 Jul 2012, 08:49 AM

Hi

 

I’m new the Telerik Reporting and I’m having an issue with the report viewer in my windows form project that I’m a bit stumped on.

When I run the form I need to hit the refresh button or the viewer is blank.

I followed this quick start guide…

http://www.telerik.com/help/reporting/quick-start-windows-viewer.html

… and as far as I’m aware I have not missed anything.

To me it seems like the RefreshReport method is not being called but I’m not sure.

I went through the motions for two separate projects and ran into the same problem.

I realize that this is not much to go on but I don’t know what else I can say.

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 11 Jul 2012, 08:59 AM
Hi Matthew,

As you've correctly figured out, it is the RefreshReport Method that is responsible for refreshing the report in the viewer. The Load eventhandler of the windows form is the correct place to invoke this method, make sure it is invoked by adding a breakpoint to it. If it is not invoked, did you attach this event?

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 >

0
Matthew
Top achievements
Rank 1
answered on 11 Jul 2012, 09:59 AM
Whoops. The event wasn't attached. All better now, thank you very much for such a prompt response.
Tags
General Discussions
Asked by
Matthew
Top achievements
Rank 1
Answers by
Steve
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or