Link to home
Start Free TrialLog in
Avatar of Relegence
RelegenceFlag for Israel

asked on

GridView Pager style

Hello,

I am writing a c# asp.net web application, using a gridview.
I see that i can change the style using  "PagerStyle", but how can i change only the style of the selected page and all of the page numbers?
I want it to be larger and bolder.

Thank you
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

I guess you'll have to take a look at the GridView.BottomPagerRow Property

See: http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.bottompagerrow.aspx
Avatar of Relegence

ASKER

Thank you but i can't find there what I need - to change the style of the selected page only
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
just what I needed - Thank you very much :-)
Avatar of trickstagal
trickstagal

Just thought I'd add this link for another solution for .net 2.0 using skins & css:
http://community.sgdotnet.org/blogs/chuawenching/archive/2007/02/16/ASP.NET-2.0-GridView-_2D00_-My-experience-on-skinning.aspx
Bascially the current selected page sits inside a span within the pager so you can get at it that way.