How can I alter Gridview Pager settings/style?

Experts,

I have too things I need to sort with my paging and need some help if any one can oblige. I'm using standard gridview pager with <pagerstyle> and <pagersettings>.

1. How can I chnage the style of the current page so it stands out more from the other numbers? At the moment its not bold and the rest are. I can't figure out where to alter this value.

 2. I have it set to Position="TopAndBottom" at the moment and the gridview is bound to a xmldatasource with BoundFields. Is there a way to move the header pager row below the column names?



Thanks for the input in advance,
Denis
DenisdhAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David RobitailleAnalyst ProgrammerCommented:
for no1
i did it myself using CSS
HeaderFooter class apply to the current page and the link one apply to the orhers pages
 for no 2

on each column: FooterText instead of header text
Gridview set ShowFooter="True"

.HeaderFooter
{
    background-color: #0066CC;
    color: #ffFFFF;
    font-weight: bold;
}
.HeaderFooter a:link
{
    color:#00FFFF; 
    text-decoration:underline
}
.HeaderFooter a:visited
{   
    color:#00FFFF; 
    text-decoration:underline
}
.HeaderFooter a:hover
{
    color:#00FFFF; 
    text-decoration:underline
}
.HeaderFooter a:active
{
    color:#00FFFF; 
    text-decoration:underline
}

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David RobitailleAnalyst ProgrammerCommented:
I`m not sure it it was clear, don`t hesitate if you need precisions.
DenisdhAuthor Commented:
Thatnks for the input, I've solved No. 1 with your help but No. 2 just moves the header title below the data returned. What I want to do is move the pager row below the column titles.

Is this possible?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

David RobitailleAnalyst ProgrammerCommented:
ho!  i misunderstood.
I don`t think there is anyway to do that...
 
DenisdhAuthor Commented:
Thanks for the help. At least I got half it sorted.
David RobitailleAnalyst ProgrammerCommented:
Thanks for the grade.
I just found this. you might use something like this to change the index of the pager!!!!
http://forums.asp.net/t/1306923.aspx
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.