asp.net - Opening a Pdf document in Adobe photoshop -
i have silverlight control upload documents in web page share point. while upload document uploaded. when try open clicking on document pdf document uploaded opens in redirected ie page. want pdf directly opened in adobe reader instead of redirecting open in ie page.
can please suggest if browser setting or need code it?
thanks yogesh
response.clear(); response.contenttype = "application/pdf"; obj.save(response.outputstream, file); response.addheader("content-disposition", "attachment;filename=" + "abcd".tostring()); response.flush(); response.end();
above code downloading it. if saving file in db binary data or if saving in folder within app, give path.
Comments
Post a Comment