Dave Burke : Freelance .NET Web Developer specializing in Online Communities

EnableViewState="False" -- the silent killer

I was trying to improve performance on a client's web app couple days back and on a certain page added EnableViewState="False" to the @Page directive to see if it helped.  So I get a call telling me the page isn't working. 

Object reference not set to an instance of an object

You know, the usual.  I spent an HOUR tracking it down.  I'm so conditioned to stay in the codebehind.CS and alter the @page directive so rarely that it wasn't on the radar. 

it is now...

Comments (0) | Post RSS RSS comment feed

Posted on 5/12/2004 9:44:00 PM by Dave Burke
Categories:
Tags: No tags for this post

Related posts

Comments are closed

This site was built with the Sueetie .NET Online Community Framework. Learn more about Sueetie at Sueetie.com.