This is a migrated thread and some comments may be shown as answers.

Strange issue with Localize Grid pager

2 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luc
Top achievements
Rank 1
Luc asked on 05 Oct 2010, 11:24 AM
Hi, I have a stange problem with Localized Grid Pager. My DLL number is 2010.2.929.35

If I set PagerTextFormat nothing appear.

This exemple working and the text "xxx items in yyy pages" is displayed

 

<PagerStyle AlwaysVisible="True" FirstPageToolTip="Début" LastPageToolTip="Fin" 
               NextPagesToolTip="Page suivante" NextPageToolTip="Page suivante" 
               PageSizeLabelText="Taille de page:" PrevPagesToolTip="Page précédente" 
               PrevPageToolTip="Page précédente" ShowPagerText="True" Mode="NextPrevAndNumeric"/>


This pager not working. Test "xxx emails" is not displayed

 

<PagerStyle AlwaysVisible="True" FirstPageToolTip="Début" LastPageToolTip="Fin" 
               NextPagesToolTip="Page suivante" NextPageToolTip="Page suivante" 
               PageSizeLabelText="Taille de page:" PrevPagesToolTip="Page précédente" 
               PrevPageToolTip="Page précédente" ShowPagerText="True" PagerTextFormat="{1} emails"
                                         Mode="NextPrevAndNumeric"/>

Regards
Luc

2 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 05 Oct 2010, 11:54 AM
Hello Luc,

The PagerFormat text should begin with {4}. Please modify your code this way and let me know whether this helps:
<PagerStyle AlwaysVisible="True" FirstPageToolTip="Début" LastPageToolTip="Fin" NextPagesToolTip="Page suivante" NextPageToolTip="Page suivante" PageSizeLabelText="Taille de page:" PrevPagesToolTip="Page précédente" PrevPageToolTip="Page précédente" ShowPagerText="True" PagerTextFormat="{4}{1} emails" Mode="NextPrevAndNumeric" />

Using PagerTextFormat

Kind regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Luc
Top achievements
Rank 1
answered on 07 Oct 2010, 10:32 PM
Hi Daniel,

You have right, I did not pay attention in your doc that {4} is mandatory.

regards
Luc
Tags
Grid
Asked by
Luc
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Luc
Top achievements
Rank 1
Share this question
or