ASP.NET MVC 3 (Razor) Ajax.ActionLink - What am i doing wrong?

后端 未结 3 2011
栀梦
栀梦 2021-02-03 18:39

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

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-03 18:44

    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.

提交回复
热议问题