title: .getJSON produce a Download of a File ASP.NET MVC
body: <p>I code a .getJSon, It does the job but I get IE to asked to download the file. Here is the code</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $(function() {
      $('#id').click(function() {
          var dateReport = "01/01/2009";
  
          $.getJSON('/Report/SendReport', { date: dateReport},
                  function(response) {
                      if (response.result == "OK") {
                          $('#OKSendReport').toggle();
                          $('#OKSendReport').html("OK");
                      }
                  });
      });
  });
  </code></pre>
  
  <p></p>
  
  <p>The code in the controller is</p>
  
  <pre><code> public ActionResult SendReport(string date) {
          //DO Stuff
  
          return new JsonResult {
              Data = new { result = "OK" }
          };
      }
  </code></pre>
  
  <p>Any ideas?</p>