Define view state.



Define view state...

Answer / Umesh Kumar Rathore

View State is a mechanism provided by ASP.NET to maintain the state of user interface controls between postbacks. It serializes and stores control property values in hidden fields, allowing the state to be preserved across multiple server round trips. This helps in maintaining the state of form elements even after validation errors or other interruptions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

I am using ASP.Net 2.0. I added the following code in button_Click page. but 'PreviousPage' is not taking as a keyword. It throughs an error. Page Poster = this.PreviousPage; TextBox txtNewTest = (TextBox)Poster.FindControl("txtTest"); sDisplay = txtNewTest.Text; Response.Write(sDisplay); The following is the Error Message: 'controls_LoginMain' does not contain a definition for 'PreviousPage'

2 Answers  


What is difference between rest and soap?

1 Answers  


how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


hi guys do u know how to go one page to one page to another page plz tell me any of u know

3 Answers  


When would you set a control's AutoPostBack property to true?

1 Answers  


What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?

3 Answers   Satyam,


Security types in ASP/ASP.NET? Different Authentication modes?

4 Answers   QuadLabs Technologies,


What do you mean by serialize?

1 Answers  


how to write html code with ssl

1 Answers   DCI,


What is SQL injection?

2 Answers  


How can you execute stored procedure from windows application?

1 Answers   Microsoft,


You ve defined one page_load event in aspx page and same page_load event in code behind how will prog run?

6 Answers   TCS,


Categories