OnReportDesign Event - Name of Report in EventArgs?

Stimulsoft Reports.WEB discussion
Post Reply
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

OnReportDesign Event - Name of Report in EventArgs?

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: OnReportDesign Event - Name of Report in EventArgs?

Post 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.
james.crossley
Posts: 28
Joined: Sun Aug 07, 2011 8:53 pm
Location: Auckland

Re: OnReportDesign Event - Name of Report in EventArgs?

Post by james.crossley »

Hi Aleksey

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

Regards
James
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: OnReportDesign Event - Name of Report in EventArgs?

Post by HighAley »

Hello.

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

Thank you.
Post Reply