Dear Telerik,
I searched for some reference to Printing a ScheduleView content or exporting it to some PDF file, but could not find any.
I found the following WPF thread http://www.telerik.com/community/forums/wpf/scheduleview/print.aspx#1454069 that talks about the same feature but in WPF and not Silverlight, but could not make it work.
Can you help (as always)
Salah A. Malaeb
TeknoBuild
I searched for some reference to Printing a ScheduleView content or exporting it to some PDF file, but could not find any.
I found the following WPF thread http://www.telerik.com/community/forums/wpf/scheduleview/print.aspx#1454069 that talks about the same feature but in WPF and not Silverlight, but could not make it work.
Can you help (as always)
Salah A. Malaeb
TeknoBuild
5 Answers, 1 is accepted
0
Accepted
Hello Salah,
I've prepared a simple example which demonstrates how you can print RadScheduleView for Silverlight using PrintDocument class. Please download it and give it a try.
Hope this helps.
Regards,
Yana
the Telerik team
I've prepared a simple example which demonstrates how you can print RadScheduleView for Silverlight using PrintDocument class. Please download it and give it a try.
Hope this helps.
Regards,
Yana
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
PaulH
Top achievements
Rank 1
answered on 14 Sep 2011, 11:44 AM
I've been struggling to get this to work in the way I want. I have a radScheduleView that sits in a RadWindow but it's too large to display in its entirety so it has scroll bars to view all the content, which in itself is fine. However, when a user wants to print it I want it to be able to print this entire schedule (the existing day, week or month view) onto a single landscape page. I've been attempting to calculate and perform a scaletransform on the container of the schedule view (a grid) so as to get it to size the whole schedule view to the single page but it simply keeps scaling the visible portion down. Can you suggest a way I could get this to work please?
Thanks in advance
Thanks in advance
0
Hi Paul,
We're not sure why the provided solution doesn't work in your case. Can you please open a support ticket and send us a simple example showing your exact scenario, so we could test it? Thanks
Regards,
Yana
the Telerik team
We're not sure why the provided solution doesn't work in your case. Can you please open a support ticket and send us a simple example showing your exact scenario, so we could test it? Thanks
Regards,
Yana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
PaulH
Top achievements
Rank 1
answered on 19 Sep 2011, 03:50 PM
Hi there and thanks for your reply.
I have managed to get it to work. I had to initially re-size the Grid control that the schedule view sat inside to be the actual size of the grid + the schedule view's ExtentHeight and ExtentWidth. Then I resized the schedule view using the .Measure method followed by a .UpdateLayout. After this I was able to calculate the scale based on the printable area of the page and apply a ScaleTransform to the schedule view and pass this to the print document as the source of the document. Then in the end event I resized the schedule view and the grid back to its original sizes and all seems to work nicely.
I have managed to get it to work. I had to initially re-size the Grid control that the schedule view sat inside to be the actual size of the grid + the schedule view's ExtentHeight and ExtentWidth. Then I resized the schedule view using the .Measure method followed by a .UpdateLayout. After this I was able to calculate the scale based on the printable area of the page and apply a ScaleTransform to the schedule view and pass this to the print document as the source of the document. Then in the end event I resized the schedule view and the grid back to its original sizes and all seems to work nicely.
0
Jiri
Top achievements
Rank 1
answered on 27 Feb 2014, 12:13 PM
Hi Paul,
Is it possible to see your solution?
Thank you,
Jiri
Is it possible to see your solution?
Thank you,
Jiri