Can not parse datatable ajax request
Can not parse datatable ajax request
I'm currently try to use the JQuery Datatables in my Project. This seem to work quite well, but I have problems to process the Ajax request for removing a row.
The Ajax request that is send by the datatables Editor plugin is formatted like:
[quote]action=remove&table=pzeIpMaster&id=&data%5B%5D=3[/quote]
The method in the controller looks like
[code][Authorize, HttpPost]
public ActionResult OnDeletePzeMaster(
string action, string table, string id, string[] data)
The values of the parameters are[/code]
action = remove
table = pzeIpMaster
id = ""
data = null
Why is data set to null ?!! In my opinion data must be set to {3}
Thx for your help
The Ajax request that is send by the datatables Editor plugin is formatted like:
[quote]action=remove&table=pzeIpMaster&id=&data%5B%5D=3[/quote]
The method in the controller looks like
[code][Authorize, HttpPost]
public ActionResult OnDeletePzeMaster(
string action, string table, string id, string[] data)
The values of the parameters are[/code]
action = remove
table = pzeIpMaster
id = ""
data = null
Why is data set to null ?!! In my opinion data must be set to {3}
Thx for your help
This discussion has been closed.