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

what is tracing? Where it used?

1 Answers  


Can I create my own metadata attributes?

1 Answers  


Explain .net mobile input controls? : Microsoft dot net mobile

1 Answers  


which control is used to compare two controls?

1 Answers  


Explain the Lapsed Listener problem in .net

1 Answers   HCL,


Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

1 Answers  


What is cookie less session?

1 Answers  


What are the main Tools to develop .Net Application?

1 Answers   HCL,


define cache memory? : Dot net architecture

1 Answers  


How to call the dll at runtime in .Net?

4 Answers   iGate, Infosys,


7. Oop-Diff B/w Interfacse and abstract class.

3 Answers   PCS,


How to delete the duplicate records from table(having bulk records)?

4 Answers   BV, iGate,


Categories