title: DataTables - Tabletools undefined at postback
body: <p>I'm developing an asp.net website with a datatable that holds some items. When I do a postback I get the following error: </p>
  
  <blockquote>
    <p>Warning: TableTools 2 requires DataTables 1.9.0 or newer - etc..</p>
  </blockquote>
  
  <p>Console error:</p>
  
  <blockquote>
    <p>Cannot set property 'TableTools' of undefined </p>
  </blockquote>
  
  <p>Now I'm not sure what's going on, I tried re-initialising it by putting it into a pageLoad javascript function but I got the same result. I also tried messing with the retrieve and destroy properties but that didn't help either.</p>
  
  <p>My code:</p>
  
  <pre><code>  $(document).ready(function () {
         $('#datatable').dataTable({
          "bFilter": false,
          "bInfo": false,
          "bLengthChange": false,
          "oLanguage": {
              "sUrl": languageUrl
          }
      });
  });
  </code></pre>
  
  <p>Thanks in advance!</p>