Tuesday, June 17, 2008

UpdatePanel doing full postback when it should not!

I had an UpdatePanel with a Timer for AsyncPostBackTrigger. But although my ScriptManager had EnablePartialRendering="true", my page always got refreshed. The problem was a setting in my web.config. I removed this line:

<xhtmlConformance mode="Legacy"/>

This setting was something that probably I forgot to remove when migrating from asp.net 1.1 to asp.net 2.0.

1 comment:

Bill E. said...

Thanks for posting this. It saved me a lot of time.

Bill E.
Hollywood, FL

eXTReMe Tracker