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

what is the difference between assemblyinfo and webconfig files?

1 Answers  


State Management (viewstate, session etc)

2 Answers   Syntel,


in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview

5 Answers   TCS,


What is fulltrust?

0 Answers  


What is asp.net ajax?

0 Answers  






Describe how passport authentication works.

0 Answers  


Explain parts of assembly?

0 Answers  


What is the difference between server-side scripting and client-side scripting?

0 Answers  


Types of caching ?

1 Answers   Digital GlobalSoft, MicroSec, Wipro,


What is the concepts of globalization and localization in .net?

0 Answers  


Is it possible to write code in many languages in one asp.net project?

0 Answers  


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

0 Answers  


Categories