Silverlight Viewer VERY slow

2 posts, 0 answers
  1. Renier Pretorius
    Renier Pretorius avatar
    53 posts
    Member since:
    Apr 2010

    Posted 23 Nov 2014 Link to this post

    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?
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 26 Nov 2014 Link to this post

    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.

     
Back to Top