none
ReportViewer -- Unable to reuse cached expand/collapse toggle images in local mode RRS feed

Answers

  • I agree.  I have opened a bug to reuse the toggle and sort images across reports.
    • Marked as answer by Joe Duero Wednesday, November 18, 2009 10:06 PM
    Monday, August 31, 2009 5:19 AM
    Moderator

All replies

  • Furthermore, the reason behind the dynamic behavior of the URLs has to do with the ReportID/ControlID changing.  I have considered using a Url.RewritePath() in Global.asax.cs during the beginning of the request, but this is probably a road to disaster.  If anybody can offer some advice, I would be truly grateful.
    Saturday, August 22, 2009 8:20 PM
  • While the images will always be the same, the report viewer doesn't really know this.  To the client, the toggle images are treated no differently than other images (such as charts) in the report.  That's why they are associated with the specific instance and session ID of the report you are viewing.

    Due to some architectural changes made for SQL Server 2008, it may be possible to make the distinction between these "constant" images and the report specific images.  I will look into this performance improvement for the next release of the report viewer control.
    Sunday, August 23, 2009 6:49 AM
    Moderator
  • What we are finding is that there is a ton of data in session state (apparently this is a function of how much data is in the report?), and these hits to retrieve the + and - graphics require the loading of session state.  So the extra server trips for these graphics are more expensive than you might think.
    Thursday, August 27, 2009 8:24 PM
  • I agree.  I have opened a bug to reuse the toggle and sort images across reports.
    • Marked as answer by Joe Duero Wednesday, November 18, 2009 10:06 PM
    Monday, August 31, 2009 5:19 AM
    Moderator
  • So, what is the solution?

    Tuesday, March 6, 2012 6:51 PM