I am using Ajax.BeginForm() helper function provided by ASP.NET MVC. One functionality that is missing is the support of async=false. In other words, Ajax.BeginForm does the asynchronous request. But I would like to do synchronously. I know I can use jQuery ajax to do this. Another option might be to change the jquery.unobtrusive-ajax.js file to support this. I am wondering whether I can extend Ajax.Beginform() helper so that it will write data-async = false when renders to the view page. Any idea about how to extend this helper?
-
I would strongly, strongly suggest restructuring to make async work instead of fighting it.Jason P– Jason P2014-02-25 03:55:32 +00:00Commented Feb 25, 2014 at 3:55
Add a comment
|