danieley Posted October 15, 2009 Report Posted October 15, 2009 I'm trying to stick the current page in a session variable on a grid I have, so that when my users navigate away and come back, they can be on the page they left off on. I'm running into trouble because my handlers for PageIndexChanged and PageIndexChanging never seem to be invoked. Presumably this is because the paging doesn't cause a postback. I've been searching for a spot or setting where I can tell the pager to throw a postback, but I haven't found anything. Please help. jon Quote
Chris R Posted December 2, 2009 Report Posted December 2, 2009 Hi danieley, I don't have a direct answer for you but I can share my personal experience and hope it helps your endeavor. I've created a dynamic grid within my code after an initial postback. When I attempt to use the page feature on the grid the PageIndexChanging and PageIndexChanged never get called. Instead it initiates a true postback of the webpage. The grid itself should be saved in the page's ViewState and from there you can possibly retrieve the data including schema info (like current page selected). From all the research I've done into GridFX it looks like it's still a work in progress and some features and functionality haven't been fully implemented yet. It does have a lot of potential, especially if they can seamlessly integrate it with ChartFX. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.