PageSize drop down box in RadDataPager

2 posts, 0 answers
  1. Doug
    Doug avatar
    5 posts
    Member since:
    Apr 2012

    Posted 30 Oct 2013 Link to this post

    I am new to WPF and would like to add a dropdown box to the RadDataPager. I have searched around and found articles like this one. The ones that show samples look complex and appear to reformat the entire DataPager. Rossen mentioned it would only take a few lines of code to accomplish adding the dropdown box. Does anyone have some sample code of that or do I really need to code the entire DataPager in a new template?
    Thanks ~Doug
  2. Yoan
    Yoan avatar
    1051 posts

    Posted 04 Nov 2013 Link to this post

    Hi Doug,

    I am afraid that the only possible way for achieving your goal, is the one that my colleague Rossen had suggested in the mentioned forum post:
    You will need to edit the control template of the pager.

    I would suggest you to check this help article, where you can find more information about RadDataPager's template structure. Generally, you can find it locally inside the Themes folder, the full path would be something like so:

    C:\Program Files (x86)\Telerik\RadControls for Silverlight Q3 2013\Themes\OfficeBlack\Themes\Telerik.Windows.Controls.Navigation.xaml. Inside the xaml file you will find all the control templates. 

    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 R3 2016 release webinar banner
Back to Top