Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
URGENT HELP NEEDED ->>>>>Force URL to open in tab in IE7
posted
Hello,

I have a link in my webdatagrid as follows:

I open the link using following:

var PageURL = "XYZ.aspx?XYZID=" + rows.get_cell(8).get_value(); window.open(PageURL, "", "menubar=1,resizable=1,location=1,scrollbars=1");

Now my problem is that, it works perfectly fine when the settings of IE& is

"When popup encountered:>>> Always open pop-ups in a new window and Always open pop-ups in a new tab

but when the setting is "Let Internet Explorer decide how pop-ups should open" it creates a problem and it opens in a new window and that window has lot of issues.

Please help me to force URL to open in new tab only.
Parents
No Data
Reply
  • 395
    posted
    window.open(PageURL, "", "menubar=1,resizable=1,location=1,scrollbars=1");
    can be written as
    window.open(PageURL, "", ""); would open the page always in new tab.
    Thanks.
Children
No Data