Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...This is easily the most helpful website I've ever used, and this is the best forum with the quickest response time bar none...."

Geography

Where in the world do Tek-Tips members come from?

How to open a url in a new window using SSRS 2008 reportviewer control

griffster10 (IS/IT--Management)
8 Mar 12 4:53

I need to open a web page in a new window as a link from a cell in an SSRS 2008 report. I found a reference on the web to say the best way to do this is to put in something like:

 ="javascript:void(window.open('"+ Fields!ReferURL.Value + "','_blank'))"

where the Fields!ReferURL.value is the page you want to navigate to in another window.

This works perfectly in report manager once the report has been deployed.

However, when we run the report from within a web page using the reportviewer control, the link does nothing at all.

Does anyone know how to get round this please?
xlbo (MIS)
8 Mar 12 6:49
How is the reportviewer control being called? asp.net app? sharepoint?
 

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

griffster10 (IS/IT--Management)
8 Mar 12 7:01
The control is in an asp.net framework 2.0 app.
griffster10 (IS/IT--Management)
8 Mar 12 8:15
Think I need to clarify this really. We are pointing to the report viewer control that is running on the reporting server application and not using the report viewer control within our own intranet application (asp.net).

The reason we do it this way is because when we tried to use the report viewer control from within our asp.net application, some users were not able to use the printing feature.
xlbo (MIS)
8 Mar 12 18:38
So you are using an iframe to load up the view of the report from within the report manager right?

In that case I'm surprised the click through is not working as all you are really doing is calling up the report manager into the iframe. the only thing I can think of is that you might have some other client side code running which is intercepting th click event on the iframe

If not, can you clarify what you mean by "reportviewer control on the report server"?

AFAIK, you either reference the report in the reportmanager app or do so via a reportviewer control in your asp.net app

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close