Bug using Meta Tags with Atlas UpdatePanel

Update:Atlas is an old technology replaced superseded by AJAX.Net

This may sound slightly bizarre, but if you are using atlas in dotnet, and add a meta tag within the head of the page, it prevents partial rendering of the UpdatePanel control.

I couldn’t believe it, and in fact it took me a good few hours to figure out what was happening – Sure enough, it is a bug in atlas, fixed in the July release.

–Radderz 11:50, 1 September 2006 (BST)

In addition to this bug, there seems to be a similar one which has not been fixed with the upgrade. If you access your application settings via the following within the page head, it causes an identical response. It only appears to occur in certain situations (In my one, I was using the appSettings to fill in part of the path to a stylesheet).
<%=ConfigurationManager.AppSettings("URL.Root") %>
For the time being, I can’t think of a situation where this cannot be avoided. But if one does arise, I’ve noticed that you can place this within html comments, it works fine.

What is the use of this you may say! We’ll, actually, javascript can execute within html comments, so you set a js variable, and use it where you need ;)

–Radderz 20:26, 7 September 2006 (BST)

For existing applications, the above errors can be solved by rebuilding the web.config file from scratch, using the updated atlas template.
I’m still unsure of which line in the web.config causes these bugs, but I have not had much time other than initial inspection to investigate. If you end up spotting it, please add it here :)

–Radderz 09:21, 14 September 2006 (BST)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>