Jump to content

Recommended Posts

I am using javascript:void(window.open('http://server1/test/test_update.php?matter="&Fields!matter.Value + "', '_blank', 'fullscreen=yes, scrollbars=auto'));" 

 

to launch a report from a SSRS 2008 report that is being viewed within an iFrame.  This is done in the Jump to URL.

 

 

<iframe name='myIframe' id='myIframe' src='http://sqlreports/ReportServer?Report&rs:Command=Render&rc:LinkTarget=_blank&rc:Stylesheet=my_htmlviewer' scrolling='auto' frameborder='0' width='100%' onload='resize_iframe()' ></iframe>

 

 

 

 

the resize_iframe() function just makes the iFrame full screen to whatever the window is made.

 

Before adding the @rc:LinkTarget=_blank to the iFrame, the links did not work.  Now, when I click on the link to launch the PHP page I get two windows that open.  

 

One opens and renders the page properly:  http://server1/test/test_update.php?matter=123456

while the other window opens with the "Internet Explorer cannot display the webpage" error with the following URL:  javascript:void(window.open('http://server1/test/test_update.php?matter=123456,%20_blank,%20fullscreen=yes,%20scrollbars=auto'));

 

 

 

I'm not quite sure what is causing these two windows to open up.  When I remove the @rc:LinkTarget=_blank from the iFrame, the links go back to not working.  I've also tried to remove the _blank for the Jump to URL.  

 

Any ideas/assistance would be greatly appreciated.

 

Thanks,

Jamey8420

 

I was able to come up with a solution.  In the Jump to URL in the SSRS 2008 report, I changed this:   javascript:void(window.open('http://server1/test/...ate.php?matter="&Fields!matter.Value + "', '_blank', 'fullscreen=yes, scrollbars=auto'));" 

 

to this:

 

=http://server1/test/test_update.php?matter="&Fields!matter.Value

 

 

Thanks for all that checked this question out.

 

jamey8420

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.