Trying to have a AJAX action link which when clicked, should do a HttpGet
to an action method which returns a PartialViewResult
and shoves the HTML int
You may also want to include the InsertionMode option in the AjaxOptions. I'm sure there's a default behavior if you exclude it but it's better to explicitly define it for things like this.
Make sure you have the unobtrusive AJAX javascript library included in your page.
<script src="<%=Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")%>" type="text/javascript"></script>
And for those using the Razor view engine...
<script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script>