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](https://secure.gravatar.com/avatar/5f679e212e578ab9f844f60e8a8776a0/?default=https%3A%2F%2Fvanillicon.com%2F5f679e212e578ab9f844f60e8a8776a0_200.png&rating=g&size=120)
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