WebForm_AutoFocus Issue with Custom Pages in dasBlog
I have created quite a few customized pages (e.g. http://www.kerrywong.com/cmsg ) on my blog site. One thing I noticed is that some of the .Net generated client side java scripts (e.g. WebForm_AutoFocus and some client side validations) do not fire correctly when running under framework 2.0. At first I thought that this was due to some build problems or some incorrect configuration settings in machine.config. But when I deployed the same webpages to a new website (say on a different port), all the client side java scripts worked fine. And if I load the same page deployed on the same site where dasBlog is deployed with IE, I got a scripting error which complains WebForm_AutoFocus is not defined. So I knew that something is wrong with the web.config that came with dasBlog.
<httpCompress preferredAlgorithm="gzip" compressionLevel="high">
And change the compression level to "none".
hello! working on the same issue, you can only exclude certain files:
Kerry, the link you included for ross hawkins, above no longer works, but I found this one, which may be the same article:
http://rosshawkins.net/archive/2006/10/08/webresource.axd.aspx
Hope this helps,
Jon