title: How to add PDF viewer panel to Sharepoint WebPart
body: <p>Never worked with Sharepoint, but need to add a WebPart to display a PDF document. How does this work?</p>
  
  <p>There is currently some code to add a ReportViewer (SSRS) WebPart, but I need to replace it to display a PDF file (from disk).</p>
  
  <p>The PDF file is from a local/network path that is not served publicly.  I need to get the PDF content streamed in a web part, setting the content-type along the way.</p>
  
  <p>If it helps any, my thoughts are to respond on a different URL (page in the same site), that simply takes some token (get params?) and streams a byte[] and sets the content-type as application/pdf - I could well be completely off the mark.  <strong>You will need to be quite specific with steps and code/sample/links in the answer.</strong></p>