I've used the PrintExtension class you've provided with WPF 2011 SP1 examples but when I click the print button it's not possible to set a range of pages... if my grid has 20.000 records I don't want be responsable of Amazonian's forest harvest....
is it possible to choose a range? how to enable it? my Grid doesn't have pagination but as far I've seen that's no the problem...
Thanks
Paolo
4 Answers, 1 is accepted
As you may have noticed, a clone RadGridView is created for printing purposes in the ToPrintFriendlyGrid. There the ItemsSource of the cloned GridView is set. You could set what range you like to this ItemsSource. Then the items in this ItemsSource will be printed.
What is the exact version of the controls that you use? With the Q2 2011 version of the RadControls, you may use the RadDocument for printing to PDF. This is possible with the RadRichTextBox. You could review the online demo for an example on how you could print to a PDF.
Didie
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

I've just seen the demo on RadDocument but I've huge doubt about printing in that way... consider the case I've 10.000 items in my gridview... I wish to print page 20-21-22-23 ... how can I know exacly how many entry will stay per page? if my grid has 10 column ... how can I tell that the data will go on 2 lines so I miss some entries?
considering in some way I can handle this... how can I intercept with print preview I want to choose range from page 20-23?
Thanks
Paolo
I strongly suggest you to use Telerik Reporting instead in such (more advanced) scenarios.
All the best,Vlad
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
