Page 1 of 1

OnReportDesign Event - Name of Report in EventArgs?

Posted: Tue Mar 12, 2013 5:59 pm
by james.crossley
Hello

I'm new to Stimulsoft reports and am in the process of migrating our reporting system.

I'm using the WebViewerFx in an web page, ReportViewer.aspx.
I've enabled the Design button using StiWebViewerFxOptions.Toolbar.ShowDesignButton = true.
I'm capturing the event using OnDesignEvent and redirecting to a new page, ReportDesigner.aspx.

This works great!

What would be nice is to be able to get the current report name from the Viewer in the something like StiWebViewerFx.StiOnDesignEventArgs with a Report property containing the name. I can't see this in the Class Reference.

Is it possible? Any other suggestions?

Thanks
James

Re: OnReportDesign Event - Name of Report in EventArgs?

Posted: Wed Mar 13, 2013 1:36 pm
by HighAley
Hello.

At this moment you could pass report name in URL (for example, ReportDesigner.aspx?name=MyReport)
Also it's possible to use server cache or server session for this.
We have added your request to our to-do list.

Thank you.

Re: OnReportDesign Event - Name of Report in EventArgs?

Posted: Wed Mar 13, 2013 10:45 pm
by james.crossley
Hi Aleksey

Thanks very much for the prompt response.
I have implemented your suggestion.

Regards
James

Re: OnReportDesign Event - Name of Report in EventArgs?

Posted: Thu Mar 14, 2013 12:43 pm
by HighAley
Hello.

We are always glad to help you.
Let us know if you will need any additional help.

Thank you.