title: Jquery DataTable pagination Not working when postaback
body: <p>Jquery DataTable Pagination is not working I have 13 paginations i am selecting 5th pagingwhen i click edit button in my gridview the page will postback and pagination is not shows current selected(5th)page and it will directly to 1st page page. when i select any page in my pagination after postback also it is how to show current selected page  </p>
  
  <p>My code is:</p>
  
  <pre><code>&lt;script type="text/javascript" src="DataTable/jquery-1.11.1.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"  src="DataTable/jquery.dataTables.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
              $(function () {
                  // Setup - add a text input to each footer cell
                  $('#&lt;%=GridView1.ClientID %&gt; th').each(function () {
                      var title = $(this).text();
                      if (title == "A Name" || title == "  Name" || title == "ttl") {
                          $(this).html(title + '&lt;br/&gt;&lt;input type="text" style="width:120px" placeholder="Search ' + title + '" /&gt;');
                      }
                      else {
                          if (title != " ") {
                              //$(this).html(title + '&lt;br/&gt;&lt;input type="text" style="background-color:#646464;border:none" disabled="disabled"   /&gt;');
                          }
                      }
                  });
  
                  // DataTable
                  var table = $('#&lt;%=GridView1.ClientID %&gt;').DataTable({
                      "paging": true,
                      "ordering": false,
                      "info": false,
                      "pageLength": 10,
                      "bLengthChange": false
  
                  });
  
                  table.columns().every( function () {
                      var that = this;
  
                      $( 'input', this.header() ).on( 'keyup change', function () {
                          if ( that.search() !== this.value ) {
                              that
                                  .search( this.value )
                                  .draw();
                          }
                      } );
                  } );
              } );
   &lt;/script&gt;  
  </code></pre>
  
  <p>and Gridview :</p>
  
  <pre><code> &lt;asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="mydatagrid" HeaderStyle-CssClass="header" RowStyle-CssClass="rows" AutoGenerateColumns="false"
                          EmptyDataText="No files uploaded" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound"&gt;
  &lt;columns&gt;
  Some Columns
  &lt;/columns&gt;
  &lt;/asp:gridview&gt;
  </code></pre>
  
  <p>I tried with <code>StateSave:true</code> it saves only save pages again datatable is not fully load</p>
  
  <p><a href="https://i.stack.imgur.com/gU6n4.png" rel="nofollow noreferrer">image here</a> </p>
  
  <p>Can anyone please tell me
  Thank you</p>