After applying Filter previous page functionality of Paging not working - throwing JS error

2 posts, 0 answers
  1. Kalpesh
    Kalpesh avatar
    8 posts
    Member since:
    Nov 2013

    Posted 28 Nov 2013 Link to this post


    I have ListView in my page. I have applied paging and filter on list. Once I apply filter and use pagging, it allows to me to access the next page (if I am at page#1 it allows to go to page 2 or 3 or so on) but If I try to come back (go to page# 1 from page# 2 or so) it doesn't change the paging and throws below JS error.

    Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    I have seen this post related to same problem. I think that, we might be missing something. I have checked the demo on the site and it is working fine but in my case it is error out. Please assist.

  2. Angel Petrov
    Angel Petrov avatar
    1075 posts

    Posted 03 Dec 2013 Link to this post

    Hi Kalpesh,

    Probably there is something specific in the scenario that is causing the described error. Could you please share with us the markup and relevant code-behind so we could investigate this matter more thoroughly? Additionally if the application is using AJAX please disable it and verify that a server error is not thrown.

    Angel Petrov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top