How to open a Hyperlink on the same window

Stimulsoft Reports.WEB discussion
Post Reply
aries
Posts: 2
Joined: Wed Aug 24, 2011 3:15 pm

How to open a Hyperlink on the same window

Post by aries »

Hi,

I've added a hyperlink to one of my reports which is supposed to open a new page. the problem is that it does what I need but the new page, which is just another page in my web site, is being opened in a new window. But I want to have it opened on the same window, replacing the report. how can I do that?

Thanks
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

How to open a Hyperlink on the same window

Post by Vladimir »

Hello,

Please set the OpenLinksInNewWindow property to False:
Thank you.
aries
Posts: 2
Joined: Wed Aug 24, 2011 3:15 pm

How to open a Hyperlink on the same window

Post by aries »

Thank you for the response. But is there a way to do that in the Designer? what I mean is that Flash screen in the browser where we use to create and modify the report instead of touching the code.

Thanks
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

How to open a Hyperlink on the same window

Post by Vladimir »

Hello,

Unfortunately not, you cannot specify in the report how the links will open.

Thank you.
rochano
Posts: 3
Joined: Thu Feb 16, 2012 7:16 pm
Location: thailand

How to open a Hyperlink on the same window

Post by rochano »

when I put attribute OpenLinksInNewWindow = 'false' it will set target = '_top' in anchor tag in the page
how can I change target = '_self' ?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

How to open a Hyperlink on the same window

Post by Vladimir »

Hello,

You can use the following WebViewer property:

OpenLinksInFrame="_self"

Thank you.
rochano
Posts: 3
Joined: Thu Feb 16, 2012 7:16 pm
Location: thailand

How to open a Hyperlink on the same window

Post by rochano »

Thank you For your valuable answer :biggrin:
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

How to open a Hyperlink on the same window

Post by Andrew »

Hello,

It's our pleasure to help you.

Have a good day!
Thanks.
Post Reply