ASP.NET AJAX.BeginForm sends request twice and add duplicate entries
Hi, I was working with Ajax.BeginForm and found that when I submit a form it was adding same entry twice. I tried to figure out but didn’t get some proper solution because it was working fine at my local. When I pushed my code to live it was inserting a twice entry in the database.
So you can remove one js file either from _Layout.cshtml page or parital view. It will work for sure.
If it solves your problem don’t forget to share and comment. cheers…