I have embedded a ReportViewer control in an aspx page. I want to be able to
set the ReportPath in the ServerReport tag from javascript and then get the
report to refresh itself without the whole page posting back.
<rsweb:ReportVi ewer ID="ReportViewe r1" runat="server" Width="100%"
Height="500px" Font-Names="Verdana" Font-Size="8pt"
ProcessingMode= "Remote">
<ServerReport ReportPath="/Production/InternalMetrics/Active
Employee Report"
ReportServerUrl ="http://itautomation/reportserver" />
....
<script type="text/javascript">
function MainBodyMethod( reportPath) {
/* set report path */
}
</script>
How do I do this?
</rsweb:ReportVie wer>
set the ReportPath in the ServerReport tag from javascript and then get the
report to refresh itself without the whole page posting back.
<rsweb:ReportVi ewer ID="ReportViewe r1" runat="server" Width="100%"
Height="500px" Font-Names="Verdana" Font-Size="8pt"
ProcessingMode= "Remote">
<ServerReport ReportPath="/Production/InternalMetrics/Active
Employee Report"
ReportServerUrl ="http://itautomation/reportserver" />
....
<script type="text/javascript">
function MainBodyMethod( reportPath) {
/* set report path */
}
</script>
How do I do this?
</rsweb:ReportVie wer>
Comment