pager style in NextPrevAndNumericAdvanced mode

2 posts, 0 answers
  1. Steven
    Steven avatar
    3 posts
    Member since:
    Jul 2011

    Posted 10 Mar Link to this post

    I am changing the pager style mode of a grid from NextPrev to NextPrevNumericAndAdvanced.

    I am using a skin file, and the change of the mode is working.

    however I am trying to change this for several languages (different skin files are used for that) and I am at a complete loss  about how to change the text parts that were added with the change from NextPrev to NextPrevNumericAndAdvanced

    My pagerstyle tag in the skin file looks like this

      <PagerStyle        
    FirstPageToolTip=""                            
    LastPageToolTip=""                            
    PagerTextFormat="Pagina wisselen: {4} &nbsp;Pagina <strong>{0}</strong> van <strong>{1}</strong>, items <strong>{2}</strong> tot <strong>{3}</strong> van <strong>{5}</strong>."                            
    PageSizeLabelText="Pagina grootte"                            
    PrevPagesToolTip=""                            
    PrevPageToolTip=""                           
    NextPagesToolTip=""                           
    NextPageToolTip=""                            
    />

    basically I am looking into a way of changing the red parts in the screenshot.

    i.e 2 button texts, and 2 label texts

    I suppose I have to change the PagerStyle tag, but I have no idea which variablenames to add/change, or if I can do it by changing the PagerTextFormat.

    Anyone knows how to do this?

     

  2. Eyup
    Admin
    Eyup avatar
    3009 posts

    Posted 11 Mar Link to this post

    Hello Steven,

    You can use global localization as suggested in the following post:
    http://www.telerik.com/forums/translate-filter-text#RMdQ9B6mIkWEy8FGl0yFJQ

    Alternatively, you can access the mentioned pager parts using the ItemDataBound event handler and change their texts accordingly. I can prepare a sample web site to demonstrate that if you prefer.

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top