Bug in VS 2005 ReportViewer?



I'm trying to get the VS 2005 ReportViewer (not crystal reports) to work in
a windows form application.

This is my small test project:

- Created a windows form application
- Added new item to the project: report (report1.rdlc)
- Dragged a textbox to the report design form. (Typed "test" in the box)
- Dragged a ReportViewer object to the main form and made a link to the
report (report1.rdlc)

When I run this project and press the print (printer icon) button in the
viewer, the print dialog pops up. When I press the print button in this
dialog nothing happens. (Its like the print dialog doesn't have focus). If I
press the print button a second time I get the message printing page x of x,
but still no printout.

The only way I get this to work is by selecting the print layout/preview in
the viewer before I press the print icon button.

Anyone else had this problem? Any fixes/workarounds out there?



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question