|
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 |