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

Silverlight Report Viewer questions

5 Answers 88 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raphael
Top achievements
Rank 1
Raphael asked on 21 Mar 2012, 09:13 PM
Hello everybody,
While using Telerik Reporting, with the Silverlight Report Viewer interface, I noticed a few weird features. I searched on the forums & Internet, and didn't find anything. Thus, I'm not sure if those are known bugs or not.

1) Navigation Selection doesn't follow:
Let's begin with a demo http://demos.telerik.com/reporting/report-book/silverlight-demo.aspx 
When an item is selected in the navigation pane left (document map) it opens the right page. That is okay. But after that, when the blue arrows in the upper menu are used (First page, previous page, next page, last page), the selection of the navigation item doesn't change. It remains on the first item selected. Is that a bug? Is it possible to catch the event and change the selected item in the navigation pane? 

2) Direct printing document:
On the upper menu is a "Print report" Icon. With my report (which is around 50 pages), when that button is pressed, it shows the pop-up "Preparing to print ( x%)" like it should. But as the percent advance, the percents progressively get slower. It gets so slow that it never hits the 100%. Is there a work around for that? Or may it be possible to remove the "direct print" button from the viewer, so it can't be pressed?

3) Previous / next report buttons:
On the upper menu are 2 green buttons "Navigate back in history" and "Navigate forward in history". Those buttons are never used for my reports. Is it possible to remove them, so they can't be pressed? Because that fills the action bar with unused actions that may confuse some people.


Thanks in advance,
Raphael

PS: The Telerik Report versions Q3 2011 SP1


5 Answers, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 26 Mar 2012, 11:54 AM
Hi Raphael,

Up to your first question - you do have a point and your request for the document map to track the current page is reasonable and interesting. Thus we have logged it in our bug/feature tracking system for further investigation and implementation. However the viewers don't have any events you can handle in order to workaround the missing document map tracking functionality. 
Your Telerik points have been updated for bringing this to our attention. Do let us know if you have other ideas/suggestions.

The Silverlight report viewer is currently build against Silverlight 4 and in Silverlight 4 the print is bitmap printing, which as you have noticed is very slow. We do not have any control over that as we use the standard PrintDocument Class. In Silverlight 5, MS have added vector printing, so once we migrate the viewer to Silverlight 5 (probably in Q2), the memory and the printing time should be reduced drastically.
In the meantime if your Silverlight application is not targeting OOB, you can use the Silverlight viewer's True Print functionality instead of native print by switching the ReportViewer.UseNativePrinting property to False.

The Silverlight report viewer is a template and you can use Blend to extract its template and modify it as necessary and remove unnecessary buttons, for more info see 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.

All the best,
Peter
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Joshua
Top achievements
Rank 1
answered on 05 Mar 2013, 11:48 PM
Peter,

Can i get the template for silverlight Report viewer in order to change the style?

Thanks,
Rajesh
0
Squall
Top achievements
Rank 1
answered on 08 Mar 2013, 01:36 PM
Have you tried to extract it with Blend?

SN
0
Raphael
Top achievements
Rank 1
answered on 09 Mar 2013, 09:24 AM
Hello Squall,
Yes I used Blend and it worked. Removed all unused buttons and now looks clean.
Good luck with that,
Raphael
0
Gaurav
Top achievements
Rank 1
answered on 25 Jul 2013, 12:21 PM
I am very much able to get the template of report viewer.. but its in office black them.. 
How can i get in in Windows8 theme ?
Tags
General Discussions
Asked by
Raphael
Top achievements
Rank 1
Answers by
Peter
Telerik team
Joshua
Top achievements
Rank 1
Squall
Top achievements
Rank 1
Raphael
Top achievements
Rank 1
Gaurav
Top achievements
Rank 1
Share this question
or