title: mvc4 Razor Ajax Call to show partial view
body: <p>Am trying to get a partial view to render with an AJAX call. The following ActionResult is in my base controller which is inherited by all other controllers in the solution:</p>
  
  <pre><code>    public ActionResult FileManager()
      {
          return View("_FileManagerPartial");
      }
  </code></pre>
  
  <p>and the folowing code is another partial that sits on the page </p>
  
  <pre><code>@Ajax.ActionLink("File Manager", "FileManager", new AjaxOptions { UpdateTargetId = "dvFilemanagerContainer" });
  </code></pre>
  
  <p>dvFilemanagerContainer is a div in the layout view and the partial view "_FileManagerPartial.cshtml" is in the shared views folder.</p>
  
  <p>When I click the link for the ajax call, instead of loading the intended partial view it loads a duplicate of the page into the div.</p>
  
  <p>Any ideas?</p>
  
  <p><strong>Edit</strong>
  PartialView contents its currently just the following</p>
  
  <pre><code>&lt;div id="dvFilemanagerWrapper"&gt;
  File Manager
  &lt;/div&gt;
  </code></pre>