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

Printing a wpf-window incl. pagebreaks

3 Answers 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Caipus
Top achievements
Rank 1
Caipus asked on 13 Aug 2009, 01:38 PM
Hi all,

i am rigth now testing the telerik wpf suite incl. reporting.

I have to code an application which consists a lot of wpf-forms (mixed with grid and stackpanel layouts). Each for should be able to be printed (also the components like checkboxes etc.).
My firsts attempt were using the build in printvisual(...) function of the PrintDialog. It looks fine but:

  • only on screen visible items are printed (i use the scrollviewer) but everything has to be printed out
  • there are no automatically pagebreaks done
  • i don't wanna to implement extra reports for each wpf-window, because they are nearly the same

In order to solve this i want to use your telerik reports. I took a look in the examples but nothing found.

Do you have an idea how to easily solve this, without double implementing the contents in the window and report?
Better would be a simple example :-)

Thanks for your service

Markus

3 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 18 Aug 2009, 03:23 PM
Hi Markus Tester,

Currently there is no printing API implemented in our RadGridView  or other controls for WPF, so unfortunatelly there is no easier way to implement the scenario you have other than the one you have already tried.
But because of your interest I’ll advise with our development team to raise its priority so we could consider implementing something similar. Hopefully it will be available in one of our next releases.


Sincerely yours,
Boyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Caipus
Top achievements
Rank 1
answered on 19 Aug 2009, 03:48 PM
Hi Boyan,

thanks for the answer.
I switched to the FlowDocument Layout. I implemented an own Paginator, but getting crazy with header, footers, tables and linebreaks :(
Any help from the report component when using the FlowDocument?

Best regards
Markus

0
Nikolay
Telerik team
answered on 24 Aug 2009, 02:17 PM
Hi Markus Tester,

I am afraid it will not be that easy to print the FlowDocument Layout in WPF. The proper way to proceed would be to implement reports for each wpf window that can be then be printed.

All the best,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Caipus
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Caipus
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or