What is the function of the ViewState property?



What is the function of the ViewState property?..

Answer / Akhil Tripathi

'ViewState' in ASP.NET is a hidden field used to maintain the state of user interface controls between postbacks. It stores values that must be preserved even if the page is posted back to the server, but it can impact performance due to its size.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Explain parts of assembly?

1 Answers  


How does a content page differ from a master page?

1 Answers  


For a server control, you need to have same properties like color maxlength, size, and allowed character throughout the application. How do you handle this?

2 Answers   Microsoft,


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

1 Answers  


If there is submit button in a from tell us the sequence what happens if submit is clicked and in form action is specified as some other page ?

1 Answers   MMTS,


how we use web services

2 Answers  


Explain the concept of View Model in MVC?

1 Answers   B-Ways TecnoSoft,


What is a Managed Data?

4 Answers   HCL,


Whats an assembly?

6 Answers   Siebel Systems,


What is meant by ispostback in asp net?

1 Answers  


Explain how does asp page work?

1 Answers  


To load your generated dataset with data which method do you invoke?

1 Answers   Siebel,


Categories