When would you set this property to false?

Answers were Sorted based on User's Feedback



When would you set this property to false? ..

Answer / sudhir sheoran

EnableViewState property is set to false
when we don't want to keep track of state
of a particular control or for a complete
page.

This reduces load on bandwidth during
data postbacks,because less data is
transferred to the server now.

Is This Answer Correct ?    1 Yes 0 No

When would you set this property to false? ..

Answer / raghumadhav tirunagari

You should set a control's EnableViewState property to false
when its properties will never be changed in code or you
always want the values reset to what they were initially.
Doing so will cause your page to load faster since less
processing must occur on the server.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How many types of cookies are available in asp?

0 Answers  


What is the main function of url routing system in asp.net mvc? : asp.net mvc

0 Answers  


What are demand-paging and pre-paging?

0 Answers   MCN Solutions,


What the use of Form Authentication and windows Authentication?

1 Answers   NetCity, TCS,


What is data binding in asp net?

0 Answers  






What are different methods of session maintenance in asp.net?

0 Answers  


How to manage different kinds of sessions in ASP.NET?

0 Answers   Cap Gemini,


What is itemrowdatabound for a datagrid?

1 Answers   IBM,


Can you nest updatepanel within each other?

0 Answers  


Explain the use of resource manager class in .net.

0 Answers  


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

0 Answers  


Can the dictionary object be created in client?s scope ?

0 Answers   Satyam,


Categories