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:ReportViewer ID="ReportViewer1" 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:ReportViewer>