Explain the functionality of "EnableViewState" ? What
happens if you want it on or off?



Explain the functionality of "EnableViewState" ? What happens if you want it on or off?..

Answer / swapna

If we Enable Enableviewstate property then the state of
that particular control will remains even after postback.

If we disable Enableviewstate property then after postback
that control will lose the previous state.

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

Can we use multiple forms in single asp.net application?

3 Answers   Polaris,


Why do we use datasource in asp.net?

0 Answers  


1. What is the difference between Cache and Session? 2. I cache limited to page like viewstate or it's accessible through out the application like session? 3. Which one is better when I've some data that is to be used across the application? Why is to better than the other?

2 Answers   247Customer,


What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

4 Answers   ABC, Syntax Softtech, TCS,


True or False: To test a Web service you must create a windows application or Web application to consume this service?

1 Answers  






• What Session State providers are available in ASP.NET? What are the pros and cons of each?

2 Answers   Infosys,


Explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


what is roles in asp.net

2 Answers  


What is difference between asp.net and asp?

0 Answers  


I have a component with 3 parameter and deployed to client side now i changed my dll method which takes 4 parameter.How can i deploy this without affecting the clent?s code ?

1 Answers   Microsoft, Satyam, Wipro,


What is a swagger in web api?

0 Answers  


What is paging in context of Memory?

0 Answers   Microsoft,


Categories