On Thu, Nov 15, 2012 at 2:26 PM, Ajaywrote: Standard SSRS web interface, where displays the various reports. (from the page, where each reports have a menu which has options for Move, Delete, Subscribe etc.) When the link is clicked it navigates to the report Can this link be configured so that when clicked, it opens the report in a new window. We are using this SSRS page as Iframe in existing web page, and by default on clicking it opens in the iframe and is hard to read the report. Thanks Ajay
Heres the answer. If you are brave. Open Folder.aspx in MSSQLServerSSRSRootFolder\Reporting Services\ReportManager\Pages\Folder.aspx and add the following JQuery to the top of the file
<script type="text/javascript" src=//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script language = "Javascript"> $(function(){ $('a').click(function() { $(this).attr('target', '_blank'); }); }); </script>How this works is that the Folder.aspx page contains the HTML that each report will be listed in when displaying the default SSRS folder window. The JQuery will add code to the click event on each hyperlink "a"nchor tag. The JQuery is telling the browser to open in a new window. Cameron __________________
No comments:
Post a Comment