ASP.NET Core retrieving datatable params
ASP.NET Core retrieving datatable params
plazav
Posts: 6Questions: 2Answers: 0
Hi!
I am trying this example: Using jQuery DataTables Grid With ASP.NET CORE MVC
But I can't get any param with construction like:
var length = Request.Form["length"].FirstOrDefault();
I need them as I want to make paging.
This discussion has been closed.
Answers
Are you telling DataTables'
ajax
option to POST the data? See this example for how to do that.Allan
Yes, sure. Here is my client side code:
You'd probably need to contact the author of that post or post in a C# forum in that case. On the client-side it looks like you are doing what I would expect. I'm not sure why that isn't working.
Allan
Seems the solution was to remove:
and