404 error means you have routed to an page which is not exist.
You can share your routing code and the related actions if it has, so we can check it.
Best Regards,
Jerry Cai
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
16 Points
100 Posts
unable to route to action methods of navgrid in jqgrid
Nov 23, 2020 09:47 AM|pmdrait|LINK
using jqgrid navgrid unable to route to post actions of add/edit/delete of controllers in .net core 3.1. i tried on more than one
controller in the project. it looks searching for /Staff/Create.cshtml. Any changes in mvc routing conventions?
Is their a way to force the routing
giving full path in navgrid
The crud errors image-link https://imgur.com/CagYtUA
Member
730 Points
246 Posts
Re: unable to route to action methods of navgrid in jqgrid
Nov 25, 2020 09:40 AM|Jerry Cai|LINK
Hi,pmdrait
404 error means you have routed to an page which is not exist.
You can share your routing code and the related actions if it has, so we can check it.
Best Regards,
Jerry Cai
Member
16 Points
100 Posts
Re: unable to route to action methods of navgrid in jqgrid
Nov 25, 2020 11:56 AM|pmdrait|LINK
Member
730 Points
246 Posts
Re: unable to route to action methods of navgrid in jqgrid
Nov 26, 2020 02:22 AM|Jerry Cai|LINK
Hi,pmdrait
Try to change your endpoints to:
endpoints.MapControllerRoute( name: "default", pattern: "{controller=Home}/{action=Index}/{id?}");
Or the url: '/Papers/Edit/Id=1', will be 404.
Best Regards,
Jerry Cai
Member
16 Points
100 Posts
Re: unable to route to action methods of navgrid in jqgrid
Nov 26, 2020 02:33 AM|pmdrait|LINK
I tried this option and error continued, so i did not include