using Ajax for partial view loading in .NET MVC4

前端 未结 7 1230
臣服心动
臣服心动 2020-12-17 15:01

I\'m trying to follow the post here, which may very well be wrong, to learn a little more about partial view loading in MVC. I know the basics of MVC but want to do more of

相关标签:
7条回答
  • 2020-12-17 15:49
    1. ditch # in UpdateTargetId = "#mainDiv"
    2. make sure you have jquery.unobtrusive-ajax.min.js script referenced on your page.
    0 讨论(0)
提交回复
热议问题