title: JsonResult is returning view html rather than a serialized object when called from jQuery Get()
body: <p>I'm trying to get a json serialized object from within an MVC user control using jQuery.  The problem is the result coming back is the full HTML for the page that contains my control.  The page and the control use the same controller.  I've tried breaking on the method I'm calling in the controller and it never gets hit.  I've tried various incarnations of the jQuery Ajax calls, and get the same result.</p>
  
  <p>jQuery code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  $('#Project_GeneralContractor_Id').change(function() {
      //alert('&lt;%= Url.Action("GetGeneralContractor", "Projects") %&gt;/1');
      $.get('&lt;%= Url.Action("GetGeneralContractor", "Projects") %&gt;', { id: $('#Project_GeneralContractor_Id').val() }, function(data) {
          alert(data);
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Controller code:</p>
  
  <pre><code>public JsonResult GetGeneralContractor(int id)
  {
      return Json(_GeneralContractorRepository.Get(id));
  }
  </code></pre>
  
  <p>Where $('#Project_GeneralContractor_Id') is a drop down list and _GeneralContractorRepository.Get(id) returns an individual GeneralContractor object.</p>
  
  <p>Not sure what I have going on, but I suspect the jQuery side since I can't seem to get a break in the controller.</p>