report hyperlink triggering an event

Stimulsoft Reports.NET discussion
Post Reply
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

report hyperlink triggering an event

Post by paullef »

Hello,

I would like to have a report, with some kind of hyperlink. If you press this hyperlink, an event is being triggered, so I can start another part of my application (using the information from the hyperlink). I am using the stiviewercontrol, hosted in a bigger application. Is this possible?

I know there is a kind of hyperlink, but this starts an external program.

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

Re: report hyperlink triggering an event

Post by HighAley »

Hello, Paul.

It seems that you are looking for Drill-down report.

Please, look at the Interactive Reports section of our Demo.
Are next reports like you need:
  • List of Products
  • Cross-tab with detailing
  • Selection
Thank you.
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

Re: report hyperlink triggering an event

Post by paullef »

Aleksey,

I know there are drill-down reports, and this will start for instance another report, however I want to start another part of my program which has nothing to do with the reporting, for instance an form. For this to happen, I need a trigger from the reporting control, with for instance the url to identify a record. I have seen that with the hyperlink option you can go to a webpage, I would like to trigger anohter part of my application.

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

Re: report hyperlink triggering an event

Post by HighAley »

Hello, Paul.
paullef wrote:I know there are drill-down reports, and this will start for instance another report, however I want to start another part of my program which has nothing to do with the reporting, for instance an form. For this to happen, I need a trigger from the reporting control, with for instance the url to identify a record. I have seen that with the hyperlink option you can go to a webpage, I would like to trigger anohter part of my application.
And what problem do you have with Hyperlink property?
There is also the Click event that could be handled.

Thank you.
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

Re: report hyperlink triggering an event

Post by paullef »

The hyperlink is great, but instead of going to an external program, I want to present a form in the same application the viewercontrol is situated. I can use the hyperlink, and use the clickcomponent event for the event trigger. One last problem: how can I prevent this event trigger from trying to start an external program. The clickcomponent event does not have the e.cancel posiblity. If I, for instance, make an hyperlink with 'ab:id25', meaning present my own application screen with recordid 25, I can present my own form with record 25, however windows will inform me that there are no apps installed for AB, and if I want to search them. Can I prevent this from happening, by canceling the external start of a program ?

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

Re: report hyperlink triggering an event

Post by HighAley »

Hello, Paul.

Please, try to use Tag property instead of the Hyperlink.

Thank you.
paullef
Posts: 41
Joined: Thu Jan 17, 2013 5:06 pm

Re: report hyperlink triggering an event

Post by paullef »

Ok, the clickcomponent event is triggered and I can see the TagValue. However a user can't see were to click because it is not showing a click-hand cursor like the hyperlink option does. Is there a better way, for instance stopping the external application startup using the hyperlink?

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

Re: report hyperlink triggering an event

Post by HighAley »

Hello.

Please, try to use Mouse Enter and Mouse Leave events to change cursor.

Thank you.
Post Reply