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

print treeview

9 Answers 131 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Wolfgang
Top achievements
Rank 1
Wolfgang asked on 09 Nov 2007, 04:36 PM
Hi,

is it possible to print treeview ?
thanks
almir

9 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 12 Nov 2007, 08:08 AM
Hello almir,

RadControls for WinForms currently do not support printing.
 
If you want to print data, I will suggest using our Reporting suite. In case you want to print the form with all of its contents, it will be best to do it via Print Screen. 

Could you share what your scenario is? Why you need to print the treeview contents? In case your scenario is a common one, we will consider adding the printing feature to our ToDo list.

 
Greetings,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Margit Mathe
Top achievements
Rank 1
answered on 12 Nov 2007, 08:15 AM
Hi,

I just want to print data from a tree, and honestly I do not have any idee how it is supposed to look, what is the best way to do that, and i hoped that there will be some default print-view.

I looked in your reporting suite, but could not find any scenario where tree data is printed/reported, could you please point me to an example ?

thanks
almir
0
Margit Mathe
Top achievements
Rank 1
answered on 12 Nov 2007, 08:15 AM
Hi,

I just want to print data from a tree, and honestly I do not have any idee how it is supposed to look, what is the best way to do that, and i hoped that there will be some default print-view.

I looked in your reporting suite, but could not find any scenario where tree data is printed/reported, could you please point me to an example ?

thanks
almir
0
Jordan
Telerik team
answered on 12 Nov 2007, 08:53 AM
Hi Margit Mathe,

Our Reporting suite does not currently support self referencing hierarchical data. The Reporting team have this feature on their TODO list. Unfortunately we cannot give you a specific timeframe when it will be implemented at the moment.

You could consult the MSDN section for printing support in Windows Forms:

http://msdn2.microsoft.com/en-us/library/xdt36c58.aspx

Thank you for writing. If you have any additional questions, please contact us.

All the best,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jordan
Telerik team
answered on 12 Nov 2007, 03:38 PM
Hi Margit Mathe,

Thank you for contacting us.

Another possibility is to clone your RadTreeView, and change its size so that the entire content can be displayed. You can then use the TelerikPaintHelper.GetControlBmp method.

However, if you have many nodes in your RadTreeView you will probably not want to create such a large control and will have to implement your own printing logic.

If you have any additional questions, please write us again.

Kind regards,
Jordan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Moon
Top achievements
Rank 2
answered on 01 Apr 2010, 08:16 PM
I am using RADAJAX, but have the same problem.

This was 3 years ago and you still do not have the ability to print controls?

I created very fancy print reports, and if the treeview extends beyond page 1, it does not print.

Your reporting suite does not at all handle the type of reporting that I need to do.

At this point, I am very disappointed and have reported this in a ticket and in the forums and hope that 3 years later you have a printing solution.

To be unable to print a web page and get all the data on it, just doesn't seem right at all. Please tell me you've been working on this in 3 years and have it fixed and I just need to set some setting.

thanks.

0
Sebastian
Telerik team
answered on 07 Apr 2010, 11:23 AM
Hi Moon,

I'm afraid that this is a browser limitation - have you been able to accomplish this task with asp TreeView wrapped in a scrollable div, or other ASP.NET controls on a scrollable page? I assume that any div element that is bigger than the page will be cut off instead of being printed on multiple pages. We can't do much about it and the only "clean" solution is to have a printer-friendly page that is designed around the browser limitations.

Kind regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Filleau
Top achievements
Rank 1
answered on 11 Jul 2011, 04:20 PM
Hi,

Can you tell me if the print method is available now (year 2011)
I use Radcontrols for winforms and I need to print a treeview contents
Thanks

Anthony
0
Julian Benkov
Telerik team
answered on 14 Jul 2011, 02:47 PM
Hi Filleau,

This is not a supported built-in functionality of RadTreeView control. You can print the RadTreeView or any Windows Forms control using the PrintDocument API. More information you can find in the MSDN documentation.

Greetings,
Julian Benkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Treeview
Asked by
Wolfgang
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Margit Mathe
Top achievements
Rank 1
Moon
Top achievements
Rank 2
Sebastian
Telerik team
Filleau
Top achievements
Rank 1
Julian Benkov
Telerik team
Share this question
or