.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

View State

Posted By: Arul     Posted Date: June 06, 2011    Points:5   Category :ASP.Net
I have a text box and button control in my asp.net web page. I set enableviewstate property to false in page directive. I just run the application and entered some text in textbox control and clicked button. The page is postbacked and the text entered in textbox persists. Why this happens even the view state is disabled?

Responses
Author: Gowthammanju             
Posted Date: June 06, 2011     Points: 20   

Hi, dude

these are the step by step procedures which follows system heirarchy such as

1. Page Request
2. Start
4. Initializes
4. Pageload
5. PostBack
6. Render
7. Unload

that it!

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Gowthammanju             
Posted Date: June 06, 2011     Points: 20   

Hi dude,

you should use databind.

u can refer following links such as,

http://forums.asp.net/t/1042463.aspx/1
http://www.developerfusion.com/article/4410/in-depth-aspnet-using-adonet/5/
http://support.microsoft.com/?id=316813

Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true
Author: Sasi Prabhu             
Posted Date: June 06, 2011     Points: 20   

Hi Arul,

Can u post the tried samples.

Thanks & Regards,
Sasi Prabhu.
Author: Sunil Yadav       [Moderator]      
Posted Date: June 07, 2011     Points: 20   

Hi,

Make sure that the EnableViewState property for the page is turned Off.

Author: Susan Thampy             
Posted Date: June 09, 2011     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend