Javascript not redirecting in IE

  • 29 August 2015
  • 2 replies
  • 0 views

Badge +3

Hi,

 

I have integrated the ssrs report in k2 using the content control.

 

The SSRS report contains one hyperlink column and which is redirected to K2 form in same tab instead of different tab.

 

Javascript used in SSRS column:

="javascript:void(window.open('url','_blank'))"

 

Please find below for one of the column detail in k2.

 

<a tabindex="35" class="Ad07dbe1fe7924add91ed89e6e0b95770117a" style="color: rgb(0, 102, 204); font-family: Verdana; font-size: 8pt;" href="javascript&colon;void(window.open('url','_blank'))" target="_top">title</a>

 

The SSRS report when run as independent entity is properly redirecting to the different using the above js.

 

All the above code works fine in chrome, but when running in IE it is opening in same tab instead of new tab.

 

Please let me know, in case any more information is required.

 

Thanks,

Chetan.

 

 

 


2 replies

Badge +5

 Hi ChetanChougule,


 


Try enabling JavaScripts in your IE and try running the code again. Below is the link to Microsoft Support showing how to enable JavaScripts in IE.


 


https://support.microsoft.com/en-za/help/3135465/how-to-enable-javascript-in-windows


 


Best regards,


Abraham.

Badge +15

Hi,


 


Which K2 version are you currently on? If you are on 4.7 or Five, have you applied any Cumulative Updates or FixPacks?

Reply