When you set the PagerStyle Height property this will no allways set the correct height of the PageStyle.

<asp:GridView ID="Test">
    <PagerStyle  Height="10px" />
</asp:GridView>

To set the correct height use a CSS class:

<asp:GridView ID="Test">
    <PagerStyle  CssClass="PagerStyle" />
</asp:GridView>

In you’re CSS file add:

TR.PagerStyle TD
{
    height: 10px;
    margin: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
}
TR.PagerStyle TD TABLE
{
    margin: 0px;
    padding-top: 2px;
    padding-bottom: 2px;
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.