Solved

UpdatePanel , data loss in textboxes when moved between pages.

Posted on 2009-03-31
5
527 Views
Last Modified: 2013-11-08
Hi Experts,
Please help
I have two pages page1.aspx ( with Grid and Grid has TextBoxes) everything is enclosed in UpdatePanel. I have a button to move to next page (page2.aspx using response.redirect("page2.aspx")....
In page2.aspx ... when i click back button,, the values inside page1.aspx are lost.

can any one suggest me how to do this...
0
Comment
Question by:Deathrace
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:VikramMullick
ID: 24031719
Store the values in session , when you grom Page1 to page2.
Retrieve these values , when you come back to the Page1
0
 
LVL 9

Author Comment

by:Deathrace
ID: 24036864
No, its going to be a big problem ,,there are lots of variable and values i need to store in session,,, please suggest me another apporach..
0
 
LVL 9

Author Comment

by:Deathrace
ID: 24038427
Any one can help me please
0
 
LVL 9

Expert Comment

by:VikramMullick
ID: 24046541
You create a serialized class , with its properties signifying value of the variables.
Store the object of the class in the session.
Hence only one session variable will be required.
0
 
LVL 9

Accepted Solution

by:
Deathrace earned 0 total points
ID: 24047848
Thanks for your answer,,
but here is the best solutions for this.... its a ready made solution by Martin Jericho
http://www.codeproject.com/KB/applications/persistentstatepage.aspx?fid=73573&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
.net and XML report from SCCM 5 23
C#, asp.net MVC, sql server, LINQ 3 32
ASP.NET MVC 2 31
REXEX help Part 2 2 23
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question