If you're using the ScriptManager, then:
Set the ScriptMode attribute of ScriptManager to Release. That seems to do the trick
Set the ScriptMode attribute of ScriptManager to Release. That seems to do the trick