Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi,
pdf files path is there like(E:/certificates/ssc.pdf). in the local system. i want to retrieve the pdf's and display the pdfs using silverlight.


i used this code in asp.net.

HTML
protected void LinkButtonDownloadPdf_Click(object sender, EventArgs e)
   {
       Response.ContentType = "Application/pdf";
       Response.AppendHeader("Content-Disposition";"attachment; filename=Test_PDF.pdf");
       Response.TransmitFile(Server.MapPath("~/Files/Test_PDF.pdf"));
       Response.End();
   }

how to convert above code in silverlight
Posted
Updated 22-Feb-12 4:02am

1 solution

This CP article: Blend PDF with Silverlight[^] is a little old, but may give you some ideas.

I found this at forums.silverlight.net as well.
http://forums.silverlight.net/t/70573.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900