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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -