R
Ray Alirezaei
I want to get a parameter through quesry string and set it to a property of
a control in my page as follow but it shows me an error:
<cc1:ReportViewer id="ReportViewer1"
runat="server" Height="312px" width="712px" parameters="true"
ServerUrl="http://localhost/reportserver"
ReportPath="<%=Request.QueryString["rptPath"];%>"> <--Error occurs
here "Server tags cannot contain <% ... %> constructs"
</cc1:ReportViewer>
a control in my page as follow but it shows me an error:
<cc1:ReportViewer id="ReportViewer1"
runat="server" Height="312px" width="712px" parameters="true"
ServerUrl="http://localhost/reportserver"
ReportPath="<%=Request.QueryString["rptPath"];%>"> <--Error occurs
here "Server tags cannot contain <% ... %> constructs"
</cc1:ReportViewer>