can any one guide me. Post form data to controller without page refresh in asp.net mvc application using Jquery ajax.
+4
A:
There are some examples here. What part are you having difficulty with? You really have to go out of your way to make the page refresh when using AJAX.
RedFilter
2010-06-09 12:31:14
yeah i have tested these examples but i did refresh whole page.
Xulfee
2010-06-09 13:06:24
Make sure you add return false in your submit button click event handler like in this article: http://www.mikesdotnetting.com/Article/106/A-Degradable-jQuery-AJAX-Email-Form-for-ASP.NET-MVC
MikeB
2010-06-09 13:12:23
Good point, MikeB.
RedFilter
2010-06-09 15:05:10