Datagrid's pager style

M

Mark Warner

Hello,

I have a datagrid in a asp.net page. This page contains styles from a
CSS file which design links with no decoration.
I'd like to have customized styles applied to the datagrid's pager while
keeping the page's styles.
For instance, I'd like to have a bold current page number, and
underlined other pages numbers.
Now all the numbers have no decoration.
How could I do this, please?
Thx
 
M

Marshal Antony

Hi Mark,
You can do this using PagerStyle in the datagrid.
For eg :
put this before the closing tag of your datagrid.
<PagerStyle Font-Size="XX-Small" Font-Names="Arial" Font-Bold="True"
HorizontalAlign="Center"
ForeColor="White" BackColor="lightblue" Wrap="False"
Mode="NumericPages"></PagerStyle>
There are several properties with this PageStyle you can
set.
Hope this helps.
Regards,
Marshal Antony
..NET Developer
http://www.dotnetmarshal.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top