Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Posted

If you don't 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 wouldn't imagine it would gain you a great deal on a simple textbox.

 

John

Posted
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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...