Posted on: 7/9/2012 12:24:07 AM | Views : 270

I have a listview that display inactive promotional images. The user can re-activate the images whenever they like. I'm using datapager to page through the images, but the problem is that if the image is the last image on a page and the user sets it to active - on postback I get the EmptyDataTemplate because it is still on that page of the listview but now that record is active so it is not a part of that listview results - how can I get it to reset to the first page if the second page loses all of it's records?
I tried pgr.SetPageProperties(0, pgr.MaximumRows, False Go to the complete details ...