launching a data bound image (PDF, TIF) from a SSRS report
database table (invoice) has a column which is a data bound image (PDF, TIF, etc.) and a column for image type (PDF, TIF, etc.). so how does one cause the image to launch in a external windows (Internet Explorer, or Adobe Reader, etc.) when clicking on the image (data bound image). Does any one have an example?
May 11th, 2012 5:13pm

This blog posting should be able to point you into the right direction.... http://blogs.msdn.com/b/mab/archive/2007/05/17/how-to-create-a-hyperlink-in-reporting-services-that-opens-in-a-new-window.aspx Basically, set the Action to "Go to URL" and use the following format: javascript:void(window.open('http://www.microsoft.com','_blank')) Change the URL to what you need it to be or put in an expression to build out the URL, but what is above should make it so it opens in a new window or tab.
Free Windows Admin Tool Kit Click here and download it now
May 11th, 2012 5:39pm

Hi Ron.mcvicar, From your description, you want the image to be displayed in an external window when clicking the data-bound image in the report. As Robert posted above, the closet approach is creating another report that displays the images and adding a URL to the new report. Please note that the new report should be a parameterized report which only contains the database image filed in the details row, and the parameter filters the image field. Then, deploy the new report to the report server. In the original report, you can add a Go to URL action to the image control, and pass the image field value to the parameter via the URL. In this way, when you click one image, the report that displays the selected image will be launched in the Internet Explorer window. In addition, since there are multiple types of images, you need to set the MIME type of the image based on an expression. References: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/534c5133-8559-4884-983c-aed9cc26d898/ Hope this helps. Regards, Mike Yin
May 15th, 2012 10:45pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics