Hi!
I have the following set up:
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...
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)
And after further investigation, I have found that using a MasterPage is what causes my problems... which is very strange since it works fine on other pages in my projects...
I have even scaled down my master page to include nothing at all.
I'm tearing my hair over here.. any hints are welcome...