pager style in NextPrevAndNumericAdvanced mode

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

    Posted 10 Mar 2016 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

    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"                            

    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
    Eyup avatar
    4071 posts

    Posted 11 Mar 2016 Link to this post

    Hello Steven,

    You can use global localization as suggested in the following post:

    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.

    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top