Hide DataPager if Pages = 1
<p>How do I hide the DataPager if there is only one page. I don't know how todo this but maybe in the DataPager Events I have a asp:Button when clicked it gets records of course but sometimes there will be only one record and I need to hide the pager if there is one record so it could be done on postback but I don't know what property is for the page count. If someone has the answer please leave a message thanks</p>
