I'm working on an asp.net website that includes a datatable to store various items. However, whenever I try to do a postback, I encounter the following error:
Alert: TableTools 2 needs DataTables version 1.9.0 or higher - etc..
Error message in console:
Unable to assign 'TableTools' property Undefined
I am baffled by this issue and have attempted remedies such as re-initializing it through a pageLoad JavaScript function but with no success. Additionally, tinkering with the retrieve and destroy properties did not yield any positive outcomes.
Here is my code snippet:
$(document).ready(function () {
$('#datatable').dataTable({
"bFilter": false,
"bInfo": false,
"bLengthChange": false,
"oLanguage": {
"sUrl": languageUrl
}
});
});
Any insights would be greatly appreciated!