Quote:
[HttpPost]
public ActionResult CheckEmployee(Chart obj)
"ajax": {
"url": "/chart/CheckEmployee",
"type": "GET",
"datatype": "json"
},
Your action requires a
POST
request, and requires a
Chart
object as its parameter.
Your Javascript is making a
GET
request, and is not passing any parameters.
Check the developer console in your browser, and you'll see that the request to
/chart/CheckEmployee
is returning a
404
error.
You'll also need to correct your action to return the appropriate data to be consumed by the
DataTables.net
plugin.