What does the "EnableViewState" property do? Why would I
want it on or off?

Answers were Sorted based on User's Feedback



What does the "EnableViewState" property do? Why would I want it on or off? ..

Answer / raghumadhav tirunagari


IT keeps the data of the control during post backs.
if we turn off the values should not populate during server
round trip.

Is This Answer Correct ?    1 Yes 0 No

What does the "EnableViewState" property do? Why would I want it on or off? ..

Answer / manjunath

It allows the page to store the user's input during theww
form postbacks.

It also allows the server side controls to maintain the
input values for particular control which is stored in
hiidden fields before being displayed to the client's
browser.

when the roundtrip is made to the server, the server control
is recreated with state stored in the view state.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net AllOther Interview Questions

Explain difference between machine config vs. Web config : Dot net architecture

0 Answers  


What is the mesi? : .NET Architecture

0 Answers  


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

0 Answers  


What re interop services?

0 Answers  


how do you hide maximize,minimize and close box at the form title bar?

1 Answers   Six Sigma,






Explain cache? : .NET Architecture

0 Answers  


how do u achieve multilevel inheritance in .NET ?

9 Answers   Accenture, Ness Technologies, SteelWedge,


What is the use of CLR in .NET?

0 Answers   HCL,


Explain about developer benefit from memory management?

0 Answers  


what are clr,cls,cts?what is .net framework?

6 Answers   Six Sigma,


difference between page init an page load

1 Answers   PCS,


What is the difference between custom controls and master page?

1 Answers   Tesco,


Categories