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

2 posts, 0 answers
  1. JanwalkarPooja
    JanwalkarPooja avatar
    20 posts
    Member since:
    Jan 2013

    Posted 07 Nov 2013 Link to this post

    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
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 07 Nov 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top