DataTable server side processing with ASP.NET webapi
DataTable server side processing with ASP.NET webapi
QwQw
Posts: 3Questions: 1Answers: 0
Hi,
As per the below URL, i am sending extra information by JSON data to ASP.NET webapi. Whats the advise to read those data at ASP.NET webapi side.
https://datatables.net/manual/server-side
Have also reffered below URL :
https://levelnis.co.uk/blog/datatables-with-web-api-part-2-post-request
Thanks
This discussion has been closed.
Answers
Hi QwQw, Maybe use JSON.stringify() to turn your JSON into a string, then pass it as an argument in your POST. Parse it in your server method to get the values your want. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
Shay
Hi,
My question is, for DataTable sever side processing with ASP.NET webapi i have to send extra data to ASP.NET webapi.
https://datatables.net/examples/server_side/custom_vars.html
Also i have implemented solution as per below approach.
https://levelnis.co.uk/blog/datatables-with-web-api-part-2-post-request
No how should i send extra data to ASP.NET webapi.
Thanks
i have the solution