I would like to display more information about the current page and total record count ( as shown below) along with paging navigation.
No of records per page: 100
First page should display following info on left side of the footer.
Viewing 1-100 of 4955
Another questions is, how to display tooltips on page numbers and icons (next page, prev page, first page, last page)?
Thanks
I would suggest starting with this help topic which walks you through customizing the different controls that compose the Pager:
http://help.infragistics.com/NetAdvantage/Silverlight/2010.2/CLR4.0/?page=SL_xamGrid_Customize_the_Pager.html
Devin
Thanks for the quick answer and help topic, I did followed the instructions mentioned in the topic, but I get following error, it can't find "PagerCellControl", I have provided code snippet below. Can you please let me know what is wrong here. Thanks
ERROR:
{System.Windows.Markup.XamlParseException: Failed to create a 'System.Type' from the text 'gridParts:PagerCellControl'. [Line: 12 Position: 48]
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at ItemMaint.View.ItemBrowse.InitializeComponent()
at ItemMaint.View.ItemBrowse..ctor()}
XAML CODE:
xmlns:igGrid="clr-namespace:Infragistics.Silverlight.Controls;assembly=Infragistics.Silverlight.XamWebGrid.v10.1"
xmlns:ig="http://schemas.infragistics.com/xaml"
xmlns:gridPrim="http://schemas.infragistics.com/xaml/primitives"
<igGrid:XamWebGrid x:Name="_dgItemBrowse" AutoGenerateColumns="False" ColumnWidth="*" Margin="3,3,3,3" VerticalAlignment="Top" HorizontalAlignment="Left">
<igGrid:XamWebGrid.PagerSettings>
<igGrid:PagerSettings AllowPaging="Bottom" PageSize="20" Style="{StaticResource CustomPager1}" />
</igGrid:XamWebGrid.PagerSettings>
Hi,
Are you still using the Infragistics Commands that were attached to the buttons in the default style?
If so, then they should autmatically be disabled based on what page you're on. For example, if you're on the first page already, the PrevPage and the FirstPage button will be disabled. Likewise, if you're on the lastPage the NextPage and the LastPage will be disabled.
Keep in mind, that if you've styled the buttons yourself, that you make sure you still have a style for the Disabled Visual state of the Button.
-SteveZ
I figured it out, so no need to answer this question. I have to explicitly include these assemblies. but I do have another question,
How do I disable customized buttons - PrevPage, FirstPage, NextPage & LastPage in Xaml depending on current page? Do I need to do it in the code or is there any binding variable I can use?