title: Apply Jquery DataTables plugin to ASP GridView
body: <p>I've used this plugin before in PHP so I thought I'll use it again for my ASP project.</p>
  
  <p>For some reason it doesn't work with my GridView control.</p>
  
  <p>javascript block:</p>
  
  <pre><code>&lt;link type="text/css" href="../scripts/demo_table.css" rel="stylesheet" /&gt;  
  
      &lt;script type="text/javascript" language="javascript" src="../scripts/jquery-1.4.1.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" language="javascript" src="../scripts/jquery.dataTables.js"&gt;&lt;/script&gt;
  
      &lt;script type="text/javascript" charset="utf-8"&gt;
          $(document).ready(function () {
              $(".gvv").dataTable();
          });
          &lt;/script&gt;
  </code></pre>
  
  <p>Gridview code:</p>
  
  <pre><code>&lt;asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" 
          DataKeyNames="Prop_No" DataSourceID="testtt" CssClass="gvv"&gt;
  </code></pre>
  
  <p>Am I doing something wrong or DataTables can't be used for ASP controls?</p>