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

Silverlight Viewer VERY slow

1 Answer 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
Renier Pretorius asked on 24 Nov 2014, 02:58 AM
Hi,

I have a fairly "heavy" report with 4 graphs each containing around 2,500 datapoints (line series with markers, no datapoint labels). In Visual Studio report designer, the report takes a few seconds to render in Preview mode. However, when running my Silverlight dashboard application from Visual Studio and then trying to view the report in a Silverlight report viewer times out after 15 minutes (used custom binding to accommodate heavy load).

Is there a "limit" on the number of datapoints that Silverlight viewer can render?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 26 Nov 2014, 04:49 PM
Hello Renier,

Silverlight/WPF rendering is slow in general, and when there is a Graph item it is drawn as a Canvas with multiple elements. You can check what XAMl is rendered for a single Graph by running the code from the Exporting Report Programmatically article (Exporting a report to a multi document format) for the XAMLInteractive.

You can test to use another viewer suitable for web application as the HTML5 Report Viewer, where in browser you will get the report rendered in HTML format (Graphs are rendered as SVG elements or IMG in older browsers).

If you prefer to keep the Silverlight ReportViewer, you can test to reduce the number of rendered data points (data), and extend the timeouts at both client and server - How to: Increase the timeout value of a WCF service.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Renier Pretorius
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Stef
Telerik team
Share this question
or