How to change the size of paging networks?

I am using gridview and sqldatasource. Paging is included in mygridview.

I would like to know if there is a way to resize paging numbers. (the size of the numbers below the grid will be larger)

thank

+5
source share
1 answer

Inside the GridView tag, you can include special tags for customizing Pager styles :

    <PagerSettings FirstPageText="First Page" LastPageText="Last Page" Mode="NumericFirstLast" Position="TopAndBottom" />  
    <PagerStyle BackColor="Yellow" ForeColor="Red" />  

Here is an article that describes some options and shows how they will look. As you can see there, you can set the font directly in the tag PagerStyleor apply the CSS style as follows:

<style type="text/css">   
          .cssPager span { background-color:#4f6b72; font-size:18px;}    
    </style>

<PagerStyle CssClass="cssPager" />
+6
source

All Articles