Visual Studio Development Bookmark and Share   
 index > Visual Studio Report Controls > Access report viewer session
 

Access report viewer session

Hi All,

Is it possible to access session state data that report viewer stores in each postback. I am talking about the data that reportviewer stores in session which it uses for internal purposes while sorting or toggling.

If i get hold of this stored session state data i can get rid of one export issue that i am facing. However that would be a separate issue to talk about. Still i m sharing it here.

The issue is in using default export functioanlity of Report viewer control, i was not able to get rid of hyperlinks(subreport links)present in the exported Excel and Pdf files. So as a workaround i used Render method to export the data in my own customized way where i was deleting these links from codebehind.

However as a result of this change i am facing another problem where in some report viewer(.rdlc) i have provided a toggling feature, even after collapsing the toggle row, i am getting this rowin exported files. In other words, in exported files i am getting a default expand behavior depending on the default setting done at template level.

So if somehow i get hold of this internal session state/datathat report viewer stores for its internal purpose, i can access the onscreen/current data and manipulate export accordingly.

Any help would be greatly appreciated.

Thanks,
Sankalp Singhal
sanky5  Thursday, October 01, 2009 10:05 AM
Any pointers will be highly appreciated
sanky5  Wednesday, October 07, 2009 10:42 AM

You can use google to search for other answers

Custom Search

More Threads

• ReportViewer drillthrough report >> Jump to Hyperlink causes missing rsExecutionNotFound error
• ReportViewer.WinForms cancels FormClosing after date param is typed - bug?
• Adding Custom assemblies causes exception in GetParameters
• How to remove grouping after user sorts
• WinForm report viewer interactive features
• Download a rendered report from ReportViewer?
• Report Viewer Print Button
• ReportViewer to open XML document formatted with CSS?
• Generate and Open Visual Studio Report's inside Word for further modifications?
• Visual studio and crystal report printing