How to insert and update delete Data using mvc without page postback

Posted by Shail under ASP.NET MVC on 10/14/2015 | Points: 10 | Views : 547 | Status : [Member] | Replies : 2
Hello Sir,

How to insert and update delete Data using mvc without page postback,
Page is never post using ajax ,
Thanks




Responses

Posted by: Rajnilari2015 on: 10/14/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
You need to make an AJAX call. Please read this article of mine ( http://www.dotnetfunda.com/articles/show/2340/crud-operation-using-web-api-and-mvc4 ) which will give you the idea as how you can achieve that. Hope this will be helpful.

--
Thanks & Regards,
RNA Team

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sheonarayan on: 10/14/2015 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
You can also read below articles

Using plain asp.net mvc and ajax - http://www.dotnetfunda.com/articles/show/3088/how-to-insert-a-record-into-database-using-ajax-in-aspnet-mvc

Using knockout - http://www.dotnetfunda.com/articles/show/3088/how-to-insert-a-record-into-database-using-ajax-in-aspnet-mvc

Hope this helps.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Shail, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response