Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Paging failure on 3rd click
posted

Hi!

I have the following set up:

  • webgrid connected to a datasource control
  • Use a master page
  • Use jQuery
  • Use update panels
  • Use clientside triggers on the webgrid
  • Use a custom URLRewriter (httphandler)
  • Use loadOnDemand=XML

My paging now fails the 3rd time I click a page ( load the page, click another page, click yet another page = failure).

The failure results in being redirected to my site root.

Obviously it is something I have changed along the way since it worked a while ago and I have continued to modify my code since then and now it is broken.. classic scenario.

Anyway, I would greatly appreciate any pointers in which direction you think I should troubleshoot...

 

Parents
No Data
Reply
  • 395
    posted

    To add to my post...

    I previously had my grid contained in a User Control but now have it directly on the page instead.This resulted in the following behaviour:

    I can initialize my DataSource control in PageInit() and still have the same problem, or I can initialize my DataSource control in PageLoad and avoid the reported problem, but only the first page has any rows..(but I still get my correct number of pages)

Children