Why does Ajax.BeginForm replace my whole page?

后端 未结 6 1194
遇见更好的自我
遇见更好的自我 2020-12-16 09:47

Context: Asp.Net MVC3 w/Razor

I am trying to put a login form on a Razor layout (formerly master page) so that, when the user times out, s/he can be prompted to log

6条回答
  •  粉色の甜心
    2020-12-16 10:18

    Note: my problem was first, i referenced wrong ajax script file jquery.validate.unobtrusive.min.js instead of jquery.unobtrusive-ajax.js and latest jquery version doesn't worked, only jquery-1.7.1.min.js worked for me.

    i was trying to return content after successful entry

    so here is the order:

    
    
    
    

    Post of Darin and Richard Everett helped. hope helps.

提交回复
热议问题