Creating a dynamic SSRS report via URL using ASP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bstevenson
    New Member
    • Feb 2008
    • 2

    Creating a dynamic SSRS report via URL using ASP

    Hi

    I am trying to open up a report from ASP and export it to PDF.I need to create dynamic report names depending on the parameters I send in the URL.I have the following link that I create but it prompts for a "save as":

    http://svjsql07/ReportServer/Pages/R...ations+Reports %2fValuer_Invoi ce&rs:Command=R ender&rc:Parame ters=Collapsed&
    StartDate=2007/12/01&EndDate=200 7/12/31&VALUER=71&rs :Format=PDF

    How do I send the "save as" and output destination in the URL

    Thanks
    Last edited by jhardman; Mar 5 '08, 05:54 AM. Reason: put spaces in the url so the code would return to the next line
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Unfortunately, this is a browser-specific response. The best you can do is provide a standard anchor-tagged link (<a href=...) or possibly a response.redire ct, but this won't work if a browser is set to prompt whenever it encounters a pdf. Sorry.

    Jared

    Comment

    Working...