I am seeking guidance on a puzzling issue I am facing with my ASP.NET web application. On some pages, the autogenerated JavaScript for handling postback is enclosed in <[CDATA[ ... ]]>, while on other pages it is wrapped in simple HTML comments like <!-- ... -->. Can someone help me understand why this difference exists? Any insights or suggestions would be greatly appreciated.
Answer:
The root cause of this discrepancy lies in the version of the .Net framework being used. Despite setting up everything using an installer - from the web server to the framework and application sources - a less apparent line in httpd.conf led to the utilization of the latest framework version. The change in JS generation by Microsoft from version 2.0 sp1 to utilizing CDATA caused this variation.
Thank you to those who provided responses and assistance.