Redirect to URL on clicking HyperLink

Stimulsoft Reports.NET discussion
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Redirect to URL on clicking HyperLink

Post by rj123 »

Am generating a report. In the DataBand for the text field i have added the hyperlink property.
Currently on clicking the hyperlink the url is opening in a new window but i want the report to redirect to the URl.

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

Re: Redirect to URL on clicking HyperLink

Post by HighAley »

Hello.

Sory, we don't understand you do you want to do.
Could you describe your problem more detailed with examples?

Thank you.
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Re: Redirect to URL on clicking HyperLink

Post by rj123 »

Am generating a report. In the DataBand for the text field i have added the hyperlink property.
Currently on clicking the hyperlink the url is opening in a new window but i want the report to redirect to the URL.

For example: My Report is populated in window1 and on clicking the hyperlink in the text field in the report, window2 is opening as a new window. But as per the requirement window1 should get redirected to window2 instead of opening a new window.
Please find the report Attached.
Please let me know if you need any more details.

Thanks in Advance.
Attachments
DayBookRep.mrt
Report
(34.22 KiB) Downloaded 213 times
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Re: Redirect to URL on clicking HyperLink

Post by rj123 »

To be have any updates on this.

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

Re: Redirect to URL on clicking HyperLink

Post by HighAley »

Hello.

It seem that you should use Drill-down. Please, watch next videos:
http://www.stimulsoft.com/en/videos?tag ... tion&id=53
http://www.stimulsoft.com/en/videos?tag ... tion&id=54
You could find sample report named Interactive Reports - List of Products in our Demo.

Thank you.
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Re: Redirect to URL on clicking HyperLink

Post by rj123 »

Hi,
In the given examples on clicking the link the user is either redirected to a new report / new page in the same report.
But our requirement is different. We have given an aspx page in the hyperlink property of a text in a databand.
Currently, on clicking this hyperlink, the aspx page is opening in a new tab. What we want is that on clicking the hyperlink the aspx page should open in the same window.
Please let us know if this is possible.

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

Re: Redirect to URL on clicking HyperLink

Post by HighAley »

Hello.

What Viewer do you use?
Which version?

Thank you.
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Re: Redirect to URL on clicking HyperLink

Post by rj123 »

We are using StiWebViewer to view the report.
Version 2013.1.1600.

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

Re: Redirect to URL on clicking HyperLink

Post by HighAley »

Hello.

Please, try to set next properties of the StiWebViewer:

Code: Select all

cc1:StiWebViewer ID="StiWebViewer1" runat="server" OpenLinksInNewWindow="False"
Thank you.
rj123
Posts: 9
Joined: Fri Aug 02, 2013 9:30 am

Re: Redirect to URL on clicking HyperLink

Post by rj123 »

Hi,
Thanks for the solution it worked.

Thanks.
Post Reply