Strange fnDraw and form submit issue

Strange fnDraw and form submit issue

PrabaOnNetPrabaOnNet Posts: 6Questions: 0Answers: 0
edited November 2012 in DataTables 1.9
I am using DataTables in a DNN site. My page uses pagination and allows user to check a checkbox and enter data (13 textboxes per row). At the end user clicks on Submit, then the code should submit all rows (including the hidden rows).

Following approach doesnt work because I have a file upload textbox ( )
var sData = oTable.$('input').serialize();

So I have tried another manual solution,

function PrepareForSubmit() {
$("#divTranData").show();
var oSettings = oTable.fnSettings();
oSettings._iDisplayLength = 500;
oTable.fnDraw(true);
return true;
}

Above solution works perfectly fine in my local machine. If I deploy this in Test machine then it throws "Object moved here error". The error is caused due to oTable.fnDraw method. If I comment the oTable.fnDraw then it doesn't throw any error but it doesn't submit elements from hidden pages.

Any help is greatly appreciated as I am banging my head right now!!!!!!!!
This discussion has been closed.