Jump to URL open new window with Sharepoint...
I have been looking in the forums and I seem to havea pretty unique take on this problem. I want to open a new window when I click a hyperlink on my text box. Now I have seen the following javascript on a lot of posts:
="javascript:void(window.open('http://www.google.com/','_blank'))"
and this works fine when I bring the report up in report manager. However we have a Sharepoint site and want to view the report in a report viewer. When I click the link in that environment, it knows it's a hyperlink but it does nothing. If I change it to just the url ("'http://www.google.com/"), it works fine but it doesn't open a new window or tab but instead uses the current window or tab.
I am using SQL Server 2005 with Visual studio 2005 and it looks like verion 12.0.0.6219 of Sharepoint though I'm not 100% sure on that one. Any ideas would be greatly apreciated
September 4th, 2008 5:34pm
I do also have problems with jump to report and javascript in sharepoint (2007) with reporting services (2005).
I have used the same javascript as tickytong:
="javascript:void(window.open('http://dwh-ms/ReportServer?%2fSale%2fSale_Details&rs:Command=Render', '_blank')) "
In Sharepoint I am using the report viewer webpart.
The report link opens a new, blank page in sharepoint, but theURL showsjavascript:void(window.open('http://dwh-ms/ReportServer?%2fSale%2fSale_Details&rs:Command=Render',%20'_blank')) and the page shows anerror message that the pagecannot be displayed.
The jump to report works fine in report manager.In RS the javascript tags has been removed and the site is opened as normal.
Any clue on what I need to do to get the linked reportsto workin Sharepoint??
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2008 2:31pm
Hi, I have the same issue when i use javascript to open the URL in a new window. It throws an error saying page cannot be displayed but when the URL is provided directly without the Javascript it works perfectly fine.I am using Sharepoint 2007 and SSRS 2005. Can you please let me know if you have resolved this issue or not?
April 18th, 2009 1:43pm
Hi did you get this working as I also have this issue
Free Windows Admin Tool Kit Click here and download it now
January 15th, 2010 12:48pm
Hi,I'm having the same issue? Did you guys find any solution for this?Regards,Surabhi
February 15th, 2010 11:18pm
I'm also experiencing this issue, and am not able to find a solution. Did anyone find a resolution?
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2010 5:52pm
Did anybody got the solution for this ? ..I am also facing the same issue ...
July 15th, 2011 12:34pm


