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

Need to start Ellipsis after with digits 1 2 . . . in telerik:RadDataPager

1 Answer 32 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
JanwalkarPooja
Top achievements
Rank 2
JanwalkarPooja asked on 07 Nov 2013, 11:51 AM
Hi Telerik,

In my project I'm facing one problem in telerik:RadDataPager control.This Control is getting cut if the records get  increases which i don't want it.
By default in telerik:RadDataPager control start their ellipses after digits 1 2 3 4   . . . . like this.PFA
I want that Ellipse should be start after with 1 2 . . .So at least i will have to  overcome this issue.
I've tried to find out in Ellipse control under style of NumericButtonStyle ,but not found .
How do i achieve this approach by doing code behind or by xaml through?
Please provide me solution to getting this approach.
In Code :
<telerik:RadDataPager x:Name="HeaderPager"
                                              PageSize="{Binding Path=PageSize,
                                                                 Mode=TwoWay}"
                                              Source="{Binding Path=PagedCollection}" />
<telerik:RadGridView x:Name="RadGridView"                                      
                                             CanUserSortColumns="True"
                                             DataContext="{Binding Source={StaticResource ViewModelKey}}"
                                             IsSynchronizedWithCurrentItem="False"
                                             ItemsSource="{Binding Path=PagedCollection}"
                                             SelectionMode="Multiple"
                                             Style="{StaticResource GridView}"
                                             Visibility="{Binding Path=IsGridVisible,
                                                                  Source={StaticResource ViewModelKey}}"
                                                 ElementName=RadBusyIndicator}">
<telerik:RadDataPager x:Name="FooterPager"
                                              PageSize="{Binding Path=PageSize,
                                                                 Mode=TwoWay}"
                                              Source="{Binding Path=PagedCollection}" />
Looking forward your reply.
 
Regards,
Pooja

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 07 Nov 2013, 01:34 PM
Hello Pooja,

 

Thank you for contacting us! Within a simple style you would modify the appearance of these items. 
However AutoEllipsisMode of DataPagerPresenter is based on a particular internal logic of RadDataPager.  You have a simple TemplateBinding in XAML. Thinking in this way rather unfortunately there is no easy way to modify this out-of the-box behavior. 


Regards,
Vanya Pavlova
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
DataPager
Asked by
JanwalkarPooja
Top achievements
Rank 2
Answers by
Vanya Pavlova
Telerik team
Share this question
or