asp.net - Retaining PreviousPage information after postback -
I am using asp.net previous page functionality and cross-page postback. The problem I am running is that if there is a postback on my page, the information on the previous page has been lost. I do not want to keep it in the viewstate because it will be quite big. I have thought about the session, but I do not want the data to continue after moving to a different page, and I really do not like the idea of putting code in all my other pages to remove the old session variable.
What methods do you use to keep such information passed through a cross-page postback?
Update:
Responding to most questions raised about refreshing the page using the feedback. Redirect I can not use it because it was posted informally on the page instead of posting, resulting in loss of this information and I was stopped from calling my controls with the last time of the selection criteria. Page.
I need to update the data in the grid while maintaining postback information. I thought about using AJAX, but it really is not an acceptable solution right now in per customer requirements. I need to click on a button and refresh the page as it was posted recently, and I actually once again have to re-submit a postback of FM and accept data redirection I do not see any way to click on the dialog.
Store the values of the previous page in the viewsto on the initial page load.
Comments
Post a Comment