103
Views
1
Comments
open new tab from server action , POP Blocker wont allow.
Question

Hi all,

Open page in new tab in server action , i m using javascript : window.open('"+EncodeJavaScript(Url)+"')

It work fine when browser allow to open pop. But in my case all popup block by Browser and it wont allow to open new tab.Even i try to open page using hidden link widget_click , it wont work. Any other way to do it ? 

cheers,

Rocky


2020-02-28 09-46-54
Eduardo Jauch

Hello Rocky,

Popup blockers will block anything that is not user initiated. So, you have to manually add exceptions for it.

I read somewhere that synchronous ajax can be used in this case, but I'm not sure this still works (or if it works at all).

I fact, this is not an OutSystems related problem.

Google: How to open new tab without popup block.

Many entries...

Cheers

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.