I am trying to open a SQL Report in a pdf instead of the report view when i click on a link on my site, which is written in C#. You can see below the code that I have that says open the url I give it in another window. Currently when I click the link the report will open in the SQL report wizard, but I want it to go stright to pdf like in the second image. is there something that i need to put in the URL for this to happen or what?
Response.Write("<script>window.open('" + url + "');</script>");