all groups > sql server reporting services > february 2006 >
You're in the

sql server reporting services

group:

New window on onmouseover image



New window on onmouseover image David
2/9/2006 12:41:27 PM
sql server reporting services: I want to be able to use javascript within a report to have a window popup
when you hover your mouse over an image. I know that I can do it within an
aspx page but can I do it within RS report?
RE: New window on onmouseover image stcheng NO[at]SPAM online.microsoft.com
2/10/2006 12:00:00 AM
Hi Dilworth,

Welcome to the MSDN newsgroup.

As for adding scripting behavior for images in SQL Server reporting
service report, based on my understanding, SQL 2000 reporting service is
hard to do such customizing. For SQL 2005 reporting service, it provide
custom control function which can help us build our custom UI rendering
component which help render custom html in html report, this may help
provide custom html <img> tag with some additional html or embeded script
code. Also, if you've already been able to inject scripts in the html
report, we can just use some scripts like " window.open"(or a hyperlink
which point to "target=_blank") to open a new browser window.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Re: New window on onmouseover image Austin
2/10/2006 6:02:00 PM
Hello,
We are using Sql report2000. Our client also requires some thing
similar like if they click on a column,a popup window should appear.
Currently we have created a webform and linked it to that column. But
problem is it doesn't create a new window so when they close that
webform,whole report is closed or they have to use back arrow to go
back to the report which is annoying too.

Any solution will be really appreciated.

Thanks
Re: New window on onmouseover image Antoon
2/24/2006 1:19:28 AM
Start your web-form with javascript:void(window.open('http://...'))

[quoted text, click to view]
Re: New window on onmouseover image angi
3/6/2006 12:00:00 AM
I don't know what I done is what you want or not, but for you reference.

AS my script use on "JUMP to URL"
="javascript:void(window.open('http://localhost/zPageContent/L2Bu02.aspx','_parent','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=yes,resizable=yes,copyhistory=no'));"

I want to the url can open new window and open in original window,
so I use "_parent" and close all of IE tool bar just leave what I want.
So, u can use this script in any kind of "Jump to URL" attribute.

Angi

"David" <dilworth@newsgroups.nospam> ¼¶¼g©ó¶l¥ó·s»D:2A1CAA7A-65F5-459F-A0C0-795CB7B592AC@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button