Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

window.open SSRS & Sharepoint problem

  Asked By: Roxana    Date: Jun 15    Category: MOSS    Views: 2363

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'))"

it works fine in SSRS 2005 ( report server and report manager)

but when I published this report on SharePoint2007 as WebPart - it is not working

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.

any ideas ?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Cheyenne Lewis     Answered On: Jun 15

The sharepoint  will strip the javascript  out automatically.
For the samples about adding JavaScript into SharePoint page, please refer to:
blogs.msdn.com/.../...ulate-a-list-form-field.aspx
www.sharepointkings.com/.../...-in-sharepoint.html
social.msdn.microsoft.com/.../

 
Didn't find what you were looking for? Find more on window.open SSRS & Sharepoint problem Or get search suggestion and latest updates.




Tagged: