vaioklm Posted January 24, 2008 Report Share Posted January 24, 2008 The Grid appears to be losing state when something else on the page causes a postback. For instance, I drop a grid and a button on the page and populate the grid with enough data to cause it to page. I go to the 3rd page of the grid. I then click the button which causes the page to postback. My grid has returned to page 1 after the postback. I've also seen it lose my sort and my groupings. This seems to happen whether I drop the Grid directly onto the page through the Designer or put it in a custom control. I've tried setting EnableViewState = True, but this seemed to have no effect. Is there some other property I need to set? Thanks Quote Link to comment Share on other sites More sharing options...
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.