title: opening a pdf file in modal possible?
body: <p>i was thinking of opening a pdf file in modal . current using</p>
  
  <pre><code>@Html.ActionLink("open file", "Download")
  </code></pre>
  
  <p>open another windows. i want it to populate it to a div so that i can view in in modal or  overlay.</p>
  
  <p>i am ok with jquery solution as well as currently my jquery return me some bytes character.</p>
  
  <pre><code>function openfile() {
      $.ajax({
          url: '@Url.Action("Download", "mycontroller")',
          type: "POST",
          dataType: "application/pdf",
          success: function (data) {
              $('#showpdf').html(data);
          },
          error: function (err) {
             alert(err)
          }
      });
  }
  </code></pre>
  
  <p>Action in the controller: </p>
  
  <pre><code>public ActionResult Download()
  {
      string path = HttpContext.Server.MapPath("/pdf/service_reports/SR26175.pdf");
      return File(path, "application/pdf");
  }
  </code></pre>