i have the below code:
var OrdID = screen.OrderRequest.OrderID;
window.open("http://tempserver/ReportServer/Pages/ReportViewer.aspx?%2fCustomerOrder&rs:Command=Render&OrderID=" + OrdID + "&rs:Format=PDF");
this code is on a button that opens the file from the temp server and saves it as a PDF. it currently saves it as the name "CustomerOrder".. my question is, is it possible to rename the file using javacript to say 200 (being the order number)
thanks guys
Not possible with JavaScript. There are many other questions on Stack Overflow asking the same thing!