Set Pagination Length with Drop Down Control

Feb 16, 2015 at 7:27 PM
Does anyone know how to set the pagination length with a drop down control. I can not seem to expose with intelisense or I should say set dynamically the .WithPaging(5). So initially I have the paging length set to (5). but I have a drop down box listing [ "25", "50", "100" ].

Can anyone help?