Home > Sivlerlight 3 > Customizing DataPager

Customizing DataPager

I wanted to customize the datapager in silverlight to be able to change the pagesize after it is set and be able to change the UI of the DataPager a bit. 

datapagerAs there is no support for multibinding, I inherited DataPager added few properties  and was able to get it to work.  you should be able to change the number of rows displayed by changing the value in the TextBox next to “Show Rows:”. 

The code doesnt have validations. for checking if the entered value is valid.

you can see a sample here and can download the code from here

Categories: Sivlerlight 3 Tags:
  1. Kevin
    May 19, 2009 at 2:37 pm | #1

    Great job.

  2. tinna
    October 16, 2009 at 7:37 am | #2

    how about if i just want to load a page (10 items, rite?) each time? not load the whole ItemsSource?

  1. August 8, 2009 at 5:53 pm | #1