title: FancyBox with PartialView in MVC3
body: <p>I'm wondering if anyone has an idea for how to use FancyBox in an MVC3 site to load a partial view (as a popup). FancyBox works fine for me when loading a full view, but breaks if the controller method returns a partial view. </p>
  
  <ol>
  <li>I've followed all the instructions on the fancybox site.</li>
  <li><p>customizations:</p>
  
  <pre><code>$("a.myclass").fancybox({
   ...
   'type': ajax
  });
  </code></pre></li>
  <li><p>the link</p>
  
  <pre><code>@Html.ActionLink("My Popup", "MyActionName", new {@class = "myclass"} )
  </code></pre></li>
  </ol>
  
  <p>Any idea why this will work with a full view, and not a partial?</p>
  
  <p>Thanks!!</p>