Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open URL in a newTabl window
#1
Hi,

very simple question... I need to open a page in external url in new tab on browser...

how can I do?

this NOT work:

      Webapplication.GoToURL(sUrl, False);

      WebApplication.Redirect(sUrl, False);

thanks

Alessandro Romano
Reply
#2
(09-05-2022, 02:32 PM)staff@ergosoft.it Wrote: Hi,

very simple question... I need to open a page in external url in new tab on browser...

how can I do?

this NOT work:

      Webapplication.GoToURL(sUrl, False);

      WebApplication.Redirect(sUrl, False);

thanks

Alessandro Romano

Hi!

Try this WebApplication.NewWindow
Reply
#3
Rolphy Reyes

Hi,

WebApplication.NewWindow open a popup window.... 

I need new tab on browser... 
many browsers have pop-ups blocked

thanks
Reply
#4
WebApplication.NewWindow can open a popup or a new tab, depending on browser configurations. Most browsers default to a new browser tab.

this

WebApplication.NewWindow('https://google.com');

opens google in a new tab in all browsers I have here, including Edge, Chrome and Firefox, as long as popups are enabled. Popup blockers can't be avoided. If you could, everybody else out there would be able to do it and popup blockers would server no purpose.
Reply
#5
Hi,

ok 
thanks
Alessandro Romano
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)