Requested unknown parameter

Requested unknown parameter

fergsfergs Posts: 2Questions: 0Answers: 0
edited April 2012 in DataTables 1.9
I have looked through the forums regarding this error and followed suggestions as posted, e.g. correct number of columns etc. with no joy.

I have followed the sample as per CodeProject site:
http://www.codeproject.com/Articles/165410/ASP-NET-MVC-Editable-DataTable-jQuery-DataTables-a

The table is shown fine when the page is first loaded and then I add new data, it hits the server fine adds the record, returns the id - Then datatables throws the error 'requested unknown parameter...', then the JSON is load and the new record is displayed fine.

Any help would be appreciated.

http://debug.datatables.net/ohuveh

Replies

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Is the debug trace from just after the error has occurred? It looks to me that everything is in order there - I don't see what the problem would be I'm afraid. Are you using the editable plug-in? Do you have the names in the form all set up correctly (the rel attribute I think is the way that plug-in works)?

    Allan
  • fergsfergs Posts: 2Questions: 0Answers: 0
    Allan,
    Thanks for the reply. Your comment about the rel attribute was spot on.

    I went thru and checked the rel attributes, adjusted accordingly and it all works now. These were not numbered as per the position in the table.

    Simple things are easily missed.

    Kind Regards,
    Guy.
This discussion has been closed.