Currently I am using the AspNetWrapper to wrap the SSRS ReportViewer Control.
What is the best way of making the Control accessible so I can call ReportView.PerformBack() for example?
I have created a toolbar in the main app which works fine if you use it to generate a fresh report each time with a set of Parameters.
However to preserve toggle settings I need to be able to call PerformBack(), which means the report needs to be accessible from the main app.
This was possible using VWG
A c# sample would be great.
Thanks for your help
Ewan
Hi Luca
I don’t know how VWG coded their reporting module, but they managed to create some sort of persistence so I could from an external control call PerformBack on the report viewer control
If I attempt that using the ASPnetWrapper I get
Viewer control object is in a read only state so I am out of cycle
Calling this is the only way to move back to previous Toggle selections on an SSRS report.
Thanks for your help
Ewan
Hi Luca
Actually I achieved it with VWG
if (bitDrill)
{
this.rptViewer.PerformBack();
}
I will Email You the VWG report wrapper files
Thanks
All the ReportViewer methods and properties are already exposed and accessible on the wrapper object since it’s a template class.
You simply cannot call them outside of the asp.net page cycle, just like asp.net or vwg.
Please login first to submit.