C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Question on Viewstate


Posted Date: 07 Aug 2007      Total Responses: 5

Posted By: sydulla       Member Level: Silver     Points: 2


After navigating from Page1 to page2 again we come to page1 , will viewstate maintain data?



Responses

Author: Ramasamy.N    07 Aug 2007Member Level: GoldRating:     Points: 2

if not using back button in the browser, the values will be discarded from control. If use back button in browser. the values will be.



Author: Vijay Kumar Naidu    07 Aug 2007Member Level: GoldRating:     Points: 2
Yes, it will.


Author: Rajiv Sharma    07 Aug 2007Member Level: GoldRating:     Points: 2
no,it will not retain data.because view state is on page level..........


Author: Swapnil    07 Aug 2007Member Level: GoldRating:     Points: 2
I am agree with rajeev sharma, viewstate could not maintain value between page postbacks (from page 1 to page 2 and page 2 to page 1). For that need to use session or querystring to maintain the data.


Author: Subodh kumar Prajapati    07 Aug 2007Member Level: GoldRating:     Points: 2
Hello friend,
The viewstate maintain the data if you use the back button of the browser.
But viewstate can not maintain the data if you use the server control for display the back page.
If you use the javascript for display the back page then viewstate can maintain the data.

Ok bye...


Post Reply
You must Sign In to post a response.
Next : how to call a java script function from code behind (aspx.vb) with parameter
Previous : XP-Style User Interface
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

teleconferencing service

Contact Us    Privacy Policy    Terms Of Use