you can try this one too.
string myScriptValue = "function enableForm() {document.getElementById("form").disabled = false;}window.onLoad = enableForm();";
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "myScriptName", myScriptValue, true);
I have never debug this so im not sure if its syntax free :)