javascript - Display ReportViewer (ReportViewer1.ServerReport.ReportServerCredentials) in a separate, dragable window -
i have ssrs report displaying fine in .aspx page, except needs display in own window. now, can form url report server , open this, not need in case.
string url = "http://testserver/reportserver/pages/reportviewer.aspx? %2fsqlreports%2ftestreport&rc:parameters=collapsed&id=" + id.tostring() + ""; string script = "window.open('" + url + "','')"; if (!clientscript.isclientscriptblockregistered("newwindow")) { scriptmanager.registerclientscriptblock(this, this.gettype(), "newwindow", script, true); }
what need code-behind, open way forming reportview on aspx page having it's parameters passed along it:
(reportviewer1.serverreport.reportservercredentials)
i have researched quite time , cannot seem find definitive answer solution this. i've tried following:
ajaxtoolkit:modalpopupextender
(there way make draggable breaks in ie10 due known bug). patch not option because these on end-user client machines.- javascript popup
server.redirect
ortransfer
separate page, passing parameter values along in session variables.
this report spanning several pages on postback need not reload report.
Comments
Post a Comment