title: add a onclientclick to gridview pager
body: <p>Using asp.net and the gridview control with the pager.</p>
  
  <p>How do I add a onclientclick to it, So that it will only page once the onclientclick returns true.</p>
  
  <p>Is this possible as it can be done with a link?  </p>
  
  <p>i know I can do this </p>
  
  <p><a href="https://stackoverflow.com/questions/2367771/gridview-pager-page-buttons-accessibility">GridView pager page buttons accessibility</a></p>
  
  <p>myGridView.Attributes.Add("onClick", "setOKToClose();")
  but it addes it to the grid and I want it only added to the pager</p>
  
  <p>Thanks</p>