Hi, I am pretty new working with Infragistics, and i have an issue i could not find how to solve with the Pager of the UltraWebGrids.
The issue came as a requeriment of the User about the colours of the numbers that the Pager displays.
I have the pager configured in the Grid Skin like this:
<Pager PageSize="100" AllowPaging="True" NextText="Next" PrevText="Previous" StyleMode="Numeric"> <PagerStyle CssClass="pagerNumber" HorizontalAlign="Center" VerticalAlign="Middle" BackColor="#696996" BorderWidth="0px" BorderStyle="Solid"> <BorderDetails StyleBottom="None" ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px"> </BorderDetails> </PagerStyle></Pager>
When it shows one page the number of that page in the webgrid is white. When it shows more than one page, the colour of the page that is currently displayed is white as well, and the rest is all Black.
The user would like me to set this numbers in other colour, but I have being browsing the Properties of the pager and i dont find how to change the Style of this numbers.
I would really apreciate any help.
Regards.-
PS:I am sorry, i know my english is not great.-
I am having the same issue. Was this ever resolved?
Thank you,Wendi
Hi PsychoTeddy, thanks for your answer, i dont have the code right now for testing it, but i think i did not explain my self very well, i would like to change the colours, and make the current page number have a colour and the ones that are not selected have other colour. With that sentence you showed me, at first sight seems just to set one colour (sorry i cant test it right away, but would like to go inside this as fast as i can), am i wrong?
UltraWebGrid1.DisplayLayout.Pager.PagerStyle.ForeColor = Color.Red;