
Peter van Rees
Top achievements
Rank 1
Peter van Rees
asked on 15 Jun 2011, 01:21 PM
I have reports with hidden sections in them. These sections can be shown/hidden through actions defined on their parent elements.
When a user prints a report, it is printed as it is shown in the viewer, expanded sections are printed, hidden sections are not. I would like to somehow hook into the print event and expand all sections prior to printing. Is this possible?
(I am using the SL viewer)
When a user prints a report, it is printed as it is shown in the viewer, expanded sections are printed, hidden sections are not. I would like to somehow hook into the print event and expand all sections prior to printing. Is this possible?
(I am using the SL viewer)
4 Answers, 1 is accepted
0
Accepted
Hi Peter,
The current behavior is by design - we print what is shown in the viewer. If you want to print the entire report with everything expanded i.e. no actions applied, you can hide/remove the print button from the Silverlight viewer template and add your own button for printing the report, which would in fact print the same report with no actions applied or default state expanded.
Best wishes,
Steve
the Telerik team
The current behavior is by design - we print what is shown in the viewer. If you want to print the entire report with everything expanded i.e. no actions applied, you can hide/remove the print button from the Silverlight viewer template and add your own button for printing the report, which would in fact print the same report with no actions applied or default state expanded.
Best wishes,
Steve
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

Peter van Rees
Top achievements
Rank 1
answered on 16 Jun 2011, 12:08 PM
Hi Steve,
Thanks for the answer. Can you give me some directions on how to change the template?
Peter
Thanks for the answer. Can you give me some directions on how to change the template?
Peter
0
Hi Peter,
You can use Blend for this purpose as explained in the Creating Style in Expression Blend help article.
General information on styling templated controls is available in the Styling a control that supports templates MSDN article.
Best wishes,
Steve
the Telerik team
You can use Blend for this purpose as explained in the Creating Style in Expression Blend help article.
General information on styling templated controls is available in the Styling a control that supports templates MSDN article.
Best wishes,
Steve
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

Peter van Rees
Top achievements
Rank 1
answered on 16 Jun 2011, 12:18 PM
Thanks Steve!