Using Ajax.BeginForm with ASP.NET MVC 3 Razor

后端 未结 8 1129
面向向阳花
面向向阳花 2020-11-22 01:23

Is there a tutorial or code example of using Ajax.BeginForm within Asp.net MVC 3 where unobtrusive validation and Ajax exist?

This is an elusive topic f

8条回答
  •  离开以前
    2020-11-22 01:56

    Prior to adding the Ajax.BeginForm. Add below scripts to your project in the order mentioned,

    1. jquery-1.7.1.min.js
    2. jquery.unobtrusive-ajax.min.js

    Only these two are enough for performing Ajax operation.

提交回复
热议问题