Welcome Guest Search | Active Topics | Sign In | Register

eo:grid pager text colours Options
steved
Posted: Thursday, April 5, 2012 4:24:32 AM
Rank: Member
Groups: Member

Joined: 2/6/2012
Posts: 13
Hi,

I have a paged EO:Grid with the paging enabled at the bottom of the grid for example as follows

583 Page(s) [1] 2 3 4 5 6 7 8 9 10 > Last>>

I can change the text colour of 583 page(s) [1] (in the aspx file using <FooterStyle>) but that does NOT change the rest of the line i.e. 2 3 4 5 6 7 8 9 10 > Last>> stays at a light blue text colour (I can even see the same colour on some of your paging on this web site) and that is very hard to see in IE9, please how can I make all of the pager line to have the same text colour.

Thanks.
eo_support
Posted: Thursday, April 5, 2012 9:43:43 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You would change the Grid's PageButtonFormat and CurrentPageButtonFormat. The default PageButtonFormat is "{0}", which just takes the page number as is. You can change it to something like "<span style='color:black'>{0}</span>" to modify the color of your page numbers. CurrentPageButtonFormat is similar, except that its default value is "[{0}]" and it is applied to the "current page" ([1] in your example).

Thanks!
steved
Posted: Thursday, April 5, 2012 12:37:49 PM
Rank: Member
Groups: Member

Joined: 2/6/2012
Posts: 13
Excellent works fine - many thanks.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.