dcray
Fri May 19 11:30:01 CDT 2006
thanks again for responding to my inquiry. turns out some urls to reports
that were getting passed around used an alias for the machine that wasn't set
up as one of the host headers
"dcray" wrote:
>
> Thanks for the reply. Yes, I had to install SP1 in order to get it working
> in the first place, which it was working just fine for awhile anyway.
>
> "Archana" wrote:
>
> > Hi,
> >
> > The prerequisite to get the javascript working is you need to have SP1
> > installed.
> > And in my case i was trying to include the report in a page viewer web part.
> > There were 3 frames in my SP page and 2 webparts.I was just not setting the
> > src property for the web part correctly.But other wise
> > ="javascript:void(window.open('
http://www.google.com','_blank'))" javascript
> > just works fine.
> >
> > Please make sure you have SP1 update installed on your s/m to get it working.
> >
> > Thanks !
> > Archana
> >
> >
> >
> >
> > "dcray" wrote:
> >
> > >
> > > Hello, what was the problem with your sharepoint site exactly? I am just
> > > using the reportserver with the javascript included, and was working just
> > > fine, in many of my reports' action properties. Then one day they all just
> > > stopped working. Perhaps there is a setting that has been changed by some
> > > other install/update to the machine?? thanks!
> > >
> > > "Archana" wrote:
> > >
> > > > Hi steve,
> > > >
> > > > My problem got solved.It works fine now.There was a problem with my
> > > > sharepoint page and not the script.
> > > >
> > > > Thanks for all the help
> > > >
> > > > Regards
> > > > Archana
> > > >
> > > >
> > > > "Archana" wrote:
> > > >
> > > > > Hi Steve,
> > > > > Please also note that ,Javascript works fine in the report.That is when i
> > > > > try opening the report using the report manager /reportserver it works
> > > > > fine.When i click the link, the page ('google') gets loaded.
> > > > >
> > > > > But when i include the same report in my sharepoint site ,using the page
> > > > > viewer webpart and try accessing the link,it throws up an error saying "Page
> > > > > cannot be displayed" and the javascript gets pasted on the address bar.
> > > > >
> > > > > Any idea why this behaviour?
> > > > > Many thanks inadvance,
> > > > > Regards,
> > > > > Archana
> > > > >
> > > > > "Archana" wrote:
> > > > >
> > > > > >
> > > > > > Hi steve,
> > > > > >
> > > > > > I too have a similar requirement, where in when i click on the image in the
> > > > > > report,it should navigate to the url given in the expression.
> > > > > >
> > > > > > I have given
> > > > > > ="javascript:void(window.open('
http://www.google.com','_blank'))" in the
> > > > > > expression.
> > > > > >
> > > > > > But what happens is,a new window is opened with "Page cannot be diaplayed"
> > > > > > and the javascript is pasted on to the addres bar of the the browser.And once
> > > > > > we press the enter key, the page loads successfully.What could be the reason
> > > > > > for such an behaviour.Any settings that i have to explicitly make to get this
> > > > > > working.
> > > > > >
> > > > > > I have tried looking almost everywhere and this is the solution that they
> > > > > > have suggested.But then it just doesnt work fime with me.
> > > > > >
> > > > > > Any inputs on this would be of great help to me.
> > > > > >
> > > > > > waiting for your reply,
> > > > > > Many Thanks,
> > > > > > Archana
> > > > > >
> > > > > >
> > > > > > "steve kwon" wrote:
> > > > > >
> > > > > > > Try a simple test ....
> > > > > > >
> > > > > > > ="javascript:void(window.open('
http://www.google.com',
> > > > > > > '_blank'))"
> > > > > > >
> > > > > > >
> > > > > > > <Action>
> > > > > > >
> > > > > > > <Hyperlink>="javascript:void(window.open('
http://www.google.com',
> > > > > > > '_blank'))"</Hyperlink>
> > > > > > >
> > > > > > > </Action>
> > > > > > >
> > > > > > >
> > > > > > > "Aravind" <Aravind@discussions.microsoft.com> wrote in message
> > > > > > > news:95FC9656-3EC4-49A3-AB75-7881EF58CA07@microsoft.com...
> > > > > > > > Hi,
> > > > > > > > I have the same problem :(
> > > > > > > > I want the hyperlinks in my report to open in a new window. I tried doing
> > > > > > > > this:
> > > > > > > > in Advanced->Navigation->JumptoURL of the textbox displaying the
> > > > > > > > hyperlink,
> > > > > > > > I added "
http://-the url"&" rc:LinkTarget=_blank" but it doesnt work -
> > > > > > > > even
> > > > > > > > the javascript doesnt work :(
> > > > > > > > plz help
> > > > > > > > thanks.
> > > > > > > >
> > > > > > > > "David Siebert" wrote:
> > > > > > > >
> > > > > > > >> You can use javascript in the Jump to URL option of the Action property,
> > > > > > > >> so
> > > > > > > >> you can include something like this:
> > > > > > > >>
> > > > > > > >> = "javascript:void(window.open('" & Fields!url.Value & "','_blank'))"
> > > > > > > >>
> > > > > > > >> to open a report in a new window. You can use similar stuff to navagate
> > > > > > > >> to
> > > > > > > >> a report in the same window. Hope this helps.
> > > > > > > >>
> > > > > > > >> David
> > > > > > > >>
> > > > > > > >> "sun" wrote:
> > > > > > > >>
> > > > > > > >> > I have some 'go to' links and 'back to' links in my report. I want the
> > > > > > > >> > 'go
> > > > > > > >> > to' links displays reports in new window and 'back to' links displays
> > > > > > > >> > the
> > > > > > > >> > reports in same window. any idea?
> > > > > > >
> > > > > > >
> > > > > > >