Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Setting ReportPath in ASCX from my ASPX page

$
0
0

This must be simple but I'm struggling. I created an ASCX with a reportviewer conrol in it. How do I set the ReportPath in the ASPX page?

In the ASCX

<rsweb:ReportViewer ID="plrviewer" runat="server" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" SizeToReportContent="true" AsyncRendering="false"><ServerReport ReportPath="/public/calllog" ReportServerUrl=http://reportserver/reportserver /></rsweb:ReportViewer>  


 In the ASPX

<%@ Register Src="~/PL_Secured/pl_calls.ascx" TagPrefix="uc1" TagName="pl_preportviewer" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"><uc1:pl_preportviewer runat="server" ID="pl_preportviewer2" /></asp:Content>

 


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>