PagerFor renders okay but the links do nothing

Sep 22, 2011 at 1:23 PM


I've just downloaded the sample application that comes with the toolkit using Visual Studio 2010 and MVC 2 framework.  I haven't tweaked it in any way.  The sample page renders correctly in all browsers but the individual page links simply render into javascript:void(0) calls.  Is there something I'm doing wrong or is this perhaps a known issue?





Sep 23, 2011 at 5:59 AM

Are you referring to the BinariesWithSimpleExamples ?

In this case the pager works for us. It causes a post of the whole page, therefore it causes also validation. If you don't correct the validation errors by filling the required fileds the page doesn't validate and it is not submitted, therefore you always remain on page 1. If you insert all required fields, listed in the validation summary, (see all fields with the red *, that are the ones wrong) the grid will change page. Hope this resolve your issue.