Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 / ramgopal reddy

It enables the viewstate on the page. It allows the page to
save the users input on a form

Is This Answer Correct ?    9 Yes 2 No

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

Answer / deepali

It allows to Store Value in viewstate and Persist the
values across postbacks

Is This Answer Correct ?    8 Yes 1 No

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

Answer / maloy.adhikari

When a form is submitted in ASP .NET, the form reappears in
the browser window together with all form values. How come?
This is because ASP .NET maintains your ViewState. The
ViewState indicates the status of the page when submitted to
the server. The status is defined through a hidden field
placed on each page with a <form runat="server"> control.
................
Maintaining the ViewState is the default setting for ASP.NET
Web Forms. If you want to NOT maintain the ViewState,
include the directive <%@ Page EnableViewState="false" %> at
the top of an .aspx page or add the attribute
EnableViewState="false" to any control.

Is This Answer Correct ?    4 Yes 1 No

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

Answer / sankar

when ever your page view state on it will take too much
responese time. that is why it is better to off the view
state if you do not require the controls to remeber its
previous state.

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How does VB.NET/C# achieve polymorphism?

6 Answers   Siebel Systems,


How many web.config files can I have in an application?

0 Answers  


SessionState - type of sessionstate and when and how to use it

1 Answers   Syntel,


page life cycle of asp.net.

4 Answers  


How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?

0 Answers  


Which method do you use to kill explicitly a users session?

0 Answers   MindCracker,


What are the ways to sending the data in ASP.NET page?

0 Answers  


WHAT IS OBJECT POOLING

2 Answers   Fidelity,


what is differences between bind and eval?

2 Answers  


Tell About Global.asax ?

3 Answers   Keane India Ltd,


What are session objects?

0 Answers  


How information about the user's locale can be accessed?

0 Answers   MindCracker,


Categories