If you are using a Report Viewer web part to show a SSRS report either in Native or Integrated mode and want to open a page in modal dialog box, i think its easy to use SP ModalDialog property and it looks much better in Share Point 2010.
In the report designer, under Placeholder properties of any text, add the following Expression for Action property
="javascript:void(SP.UI.ModalDialog.ShowPopupDialog(‘/SitePages/Test.aspx’))"
Its as simple as this, this will open the new page in a Share Point way. But make sure that Test.aspx is either an Application page or a ASPX page not any Web Part page that requires a Ribbon control, otherwise you might see this error below.
The Ribbon Tab with id: "Ribbon.Read" has not been made available for this page or does not exist.
Use Ribbon.MakeTabAvailable().
The Ribbon.Read error happens because a ribbon tab hasn’t been properly initialized, which happens on wiki pages among other this. I’ve written an article to explain how to work around this issue here:
http://blog.furuknap.net/solving-the-ribbon-tab-with-id-ribbon-read-has-not-been-made-available-for-this-page-or-does-not-exist-use-ribbon-maketabavailable
.b
Comment by Bjørn Furuknap — January 17, 2012 @ 4:42 pm