VS 2010 Report - Subreport in popup window RRS feed

  • Question

  • In VS 2010 Report, is it possible to display the sub report in a popup window (Activated when a link or button is pressed)


    Friday, October 1, 2010 10:16 PM



    In local report, this requirement might not be easy to achieve. However, you could design your subreport in BIDS, then deploy your reports to report server, and then add an ACTION of Jump to URL to display this supreport in a pop-out window utilizing JavaScript language, if you close the window of subreport, then the main report still keep the original state. So you should build the subreport firstly in BIDS. Then add an Action of Go to URL to main report’s hyperlink. Lastly, right-click the textbox and then select Properties->Navigation->Jump to URL-> type in the special expression in Action of JUMP TO URL with JavaScript language.

    You can use syntax similar like this: ="javascript:void ('http://servername/reportserver?/freportfolder/ReportName&Parameter1=" & Fields!Field1.Value &"&rs:Command=Render','_blank','resizeable=1,toolbar=0,status=0,menu=0,top=20,left=20,width=740,height=730')"


    Challen Fu

    Monday, October 4, 2010 2:59 AM