c# - How to maintain the controls state when navigating through asp.net page -
When we use asp.net pages, we navigate from one page to another through more than one method You can.
When you want to keep the history of current user navigation, this problem becomes more humorous.
We say that we have a form that the user will start filling it by adding values to one or more fields, but on my case, before navigating to the current page, a navigation on the second page And controls the rules of control to find its values.
How can I keep controls through postback between asp.net pages?
Should I use a session-session or maybe it should be cached for each user?
thanx
You have enough session status, cookies, I usually I get it all by adding all my pages to different panels within .aspx. In this way, I can use object persistence and viewstate. Instead of navigating to the page from the page, I only have to toggle the visual property of different panels based on the navigation options of our users.
RO
Comments
Post a Comment