hi guys,
I was trying to display a pdf file in the frame on a button click in Expression Blend. Also the pdf file is included(saved in a folder) in project but i cannot include the pdf url in the source of the frame.
How to do this?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kunal NaikPosted Nov 8, 2011, 1:27 AM
For saving your pdf file in project folder, you can use,
string path = System.Web.Hosting.HostingEnvironment.MapPath("~/Pdf/");
this will save your pdf file in Pdf folder of your project folder.
Kunal NaikPosted Nov 7, 2011, 1:50 PM
You can refer following link for how to display a pdf file,
http://www.c-sharpcorner.com/uploadfile/f2e803/basic-pdf-creation-using-itextsharp-part-i/