Atlas Update Panel, not updating!?

Tags: Atlas

I've recently been digging pretty deep into the most recent Atlas bits from Microsoft and so far so good. 

Today we ran into a farily big snag with the Update Panel. We managed to get it fixed and its quite obscure so I wanted to write it down for later....

We have a simple form, with or without a masterpage, and in that form we place the typical ScriptManager and UpdatePanel.  In the UpdatePanel we put a Button and a Label.  Pretty simple stuff, right?

The button, when clicked did the typical Atlas style, inline, postback to the server and the method was getting called, but the UI in the UpdatePanel itself was not getting updated.  I ran fiddler and it showed the request to the server and the correct content coming back from the server; but still the UI in the UpdatePanel was not updating.

So we started to eliminate all the extra stuff around the interface and it boiled down to our CSS documents and specifically the <link /> tags.  It seems that if these link tags are not well formed XML (ie properly closed) then you see this behaviour.

Something to watch out for in the future.

 

 

14 Comments

Comments have been disabled for this content.