Hi, we have the same problem and your solution does not help for our problem.
In addition we need to render danymically generated JavaScript into the UpdatePanel after each round trip which must be parsed and executed. But it does not. Neither our complex script, nor
alert("Hello");
nor
window.setTimeout(alert("Hello"), 2000);
We also render some DIVs danymically into a div container in the UpdatePanel (same container for the script block) and the markup is correctly rendered by the browsers, but the script will not be executed. Our complex script contains lots of calls to Walter Zorn's JavaScript vector graphics library: http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
Any idea?
Thanks,
Marco