Link to home
Start Free TrialLog in
Avatar of thayduck
thayduckFlag for United States of America

asked on

SSRS 2008 ="javascript:void(window.open Not working

Below SSRS 2008 Action code not working. Believe it was working until we upgraded to IE11. Did not write it, just support it, but have to fix it.
When you the click text box, nothing happens.     Currently on Windows 7.

 ="javascript:void(window.open('" & Variables!ReportURL.Value & "%2fOCS_Trans"

& "&FromDate=" & CDATE(TRIM(Parameters!FromDate.Value))
& "&ToDate=" & CDATE(TRIM(Parameters!ToDate.Value))
& "&FromHr=" & TRIM(Parameters!FromHr.Value)
& "&ToHr=" & TRIM(Parameters!ToHr.Value)
& "&FromMin=" & TRIM(Parameters!FromMin.Value)
& "&ToMin=" & TRIM(Parameters!ToMin.Value)
& "&Desk=" & TRIM(Fields!Desk.Value)
& "&Office=" & TRIM(Parameters!Office.Value)
& "&Shift:isNull=True"
& "&LnkCellValue=" & Round(Sum(Fields!OCS_Cnt.Value)/First(Fields!NoOfDays.Value),1).ToString()

& Variables!ReportOpenParameters.Value & "))"
ASKER CERTIFIED SOLUTION
Avatar of Arifhusen Ansari
Arifhusen Ansari
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thayduck

ASKER

I am not sure why they used javascript, but there had to be a reason. There a 25 textboxes that use this code.

Maybe it was so the called report shows up as a small window within the displayed report, so both reports display at the same time, not sure.

I will look into making changes you suggest.
Problem solved. It was not a java script issue, it was a table issue.  
But you got me pointed in the right direction.

Thanks.
Thanks