EnableViewState

bungpeng

Well-known member
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
Default value for all web control in VS.NET is "EnableViewState = True", should we set it to "False" to get the better performance if we no need to use it?

What is your opinion?
 
If you dont need to store the previous data held within an object (eg you load it through code) then set the EnableViewState property to False, this will give some saving on performance, but I wouldnt imagine it would gain you a great deal on a simple textbox.

John
 
For my opinion, as a programmer we need to write a efficient system... that why I bring this point to discuss, although I know it will not cause any obvious performance issue...
 
Back
Top