How can I setup the grid pager to use icons instead of words for first page,prev page, next page, etc?
I can't figure out how to use icons in the pager instead of text.
Is this possible?
Thanks in advance
Is it even possible or am i just loosing my time?
Hi,
I'm also facing the same problem, I can't figure out how to use icons in the pager instead of text.
I've read the examples , but was unable to make it work.
Can anybody help me with this?
What i've done so far is this:
Image[] navs = new Image[5];
prevnav.ImageUrl =
"First.gif";
navs[0] = prevnav;
grid1.DisplayLayout.Pager.CustomLabels = navs;
grid1.DisplayLayout.Pager.StyleMode =
PagerStyleMode.CustomLabels;
But in the Pager i can't get the gif image, i only get the string : "System.Web.UI.Webcontrols.Image"
Hello,
You can use custom paging to put any HTML you want in the page area and fire off events to change pages. Here is an example on how to implement custom paging.
http://help.infragistics.com/NetAdvantage/ASPNET/2010.2/CLR4.0/?page=WebGrid_Using_Custom_Paging.html
Also, if you plan to move to our new WebDataGrid control, that also allows you to template the pager area with any type of HTML content. Check out this pager template here:
http://samples.infragistics.com/2010.2/WebFeatureBrowser/contents.aspx?showCode=true&t=WebDataGrid/Paging/WebDataGrid_AdvCustomPager.aspx~srcview.aspx?path=~srcview.aspx?path=WebDataGrid/Paging/WebDataGrid_AdvCustomPager.src
-Taz.