Why is Ajax.ActionLink updating entire page instead of just UpdateTarget

后端 未结 3 1716
陌清茗
陌清茗 2021-02-20 11:21

This should replace just the UpdateTarget, but it does not, it replaces the entire page and I don\'t see why. The correct partial view is being returned, but instead of replaci

3条回答
  •  梦如初夏
    2021-02-20 12:25

    Check if you are loading @Scripts.Render("~/bundles/jqueryval") into your page somewhere or not. It is probably because unobtrusive javascript file is not getting loaded. Check this video

    Edit:
    Please check if you there packages installed in your packages.config file.

    
      
    

提交回复
热议问题