title: How to style ASP.NET DataPager ellipsis
body: <p>I'm using DataPager to paginate a ListView, and I set ButtonCount property for NumericPagerField as, say, 5 to limit the maximum count of page numbers to be displayed to 5. But by doing that, when there's more than 5 pages it shows 1 or 2 ellipses (...). Is there any way to style these ellipses or make them dissappear?</p>
  
  <p>Edit: I want to clarify this a bit. What I want to do is hiding the ellipsis in the DataPager when total number of pages exceeds the ButtonCount property (probably by styling display:none but I can't find a way to set css style for it). Please see the image below</p>
  
  <p><img src="https://i.stack.imgur.com/kMai3.png" alt="enter image description here"></p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;asp:DataPager ID="datapager" PageSize="16" PagedControlID="someId" runat="server"
                  QueryStringField="page"&gt;
                  ...
                  &lt;Fields&gt;
                      &lt;asp:NumericPagerField RenderNonBreakingSpacesBetweenControls="false" NumericButtonCssClass="someClass other"
                          CurrentPageLabelCssClass="someClass current" ButtonCount="4" /&gt;
                  &lt;/Fields&gt;
                  ...
              &lt;/asp:DataPager&gt;
  </code></pre>
  
  <p>As you can see, I have set css class for numeric buttons and page label, but it doesn't apply for the ellipsis. So I can't select the ellipsis in my stylesheet. Any idea?</p>