Passing the report path

  • To all,

    I have created the following in my webconfig (Names have been changed to protect the innocent) file:

    <appsettings>

    <addkey = "Reportserver" value = "https://name of report server" />

    <addkey = "Reportviewerpath" value = "/foldername/>

    <addkey = "Reportvieweruser" value = "login" />

    <addkey = "Reportusepassword" value = "password" />

    </appsettings>

    In my aspx page for the report viewer, I want to append the name of the report to the "Reportviewerpath" in the webconfig.

    So in my page I would need something like

    <rsweb:ReportViewer ID="MyReportViewer" ProcessingMode="Remote" >

    <ServerReport ReportPath="<%$AppSettings:"Reportviewerpath" %>" /> "Here is where I want to append the report name."

    </rsweb:ReportViewer>

    Would someone show me how to do this?

    Thanks

    GF

Viewing 0 posts

You must be logged in to reply to this topic. Login to reply