Unable to get value of the property 'asSorting': object is null or undefined
Unable to get value of the property 'asSorting': object is null or undefined
jaspreetsingh
Posts: 13Questions: 0Answers: 0
Hello,
I am using Server Side processing with C# Web Services below is the code:
Web Method:
[WebMethod]
public SEData[] ServerSideTest()
{
// It returns array of objects.
}
aspx code:
$(document).ready(function () {
$("#grid").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bServerSide": true,
"sAjaxSource": "GridTest.asmx/ServerSideTest"
});
});
Please let me know how to resolve the issue..
Thanks
Jaspreet Singh
I am using Server Side processing with C# Web Services below is the code:
Web Method:
[WebMethod]
public SEData[] ServerSideTest()
{
// It returns array of objects.
}
aspx code:
$(document).ready(function () {
$("#grid").dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bServerSide": true,
"sAjaxSource": "GridTest.asmx/ServerSideTest"
});
});
Please let me know how to resolve the issue..
Thanks
Jaspreet Singh
This discussion has been closed.
Replies
"Unable to get value of the property 'asSorting': object is null or undefined"
Where/when do you want to get the property? I do not see it in your code.
@Jaspreet: Can you run your table through the debugger or give us a link to the page please.
Allan