title: Hide DataPager if Pages = 1
body: <p>How do I hide the DataPager if there is only one page of data? </p>
  
  <p>In the DataPager events I have a <code>asp:Button</code> when clicked it gets records. </p>
  
  <p>Sometimes there will be only one record and I need to hide the pager if there is one record.</p>
  
  <p>It could be done on postback but I don't know what property is for the page count. </p>