If you're getting full postbacks with ASP.NET AJAX and EPiServer 4.62

by: Ted Nyberg (Hallvarsson & Halvarsson)

After having 1) referenced System.Web.Extensions and 2) added all the necessary entries to web.config, we still got full postbacks when submitting through an UpdatePanel in an EPiServer 4.62 website.

The solution

As it turns out, the culprit was the xhtmlConformance tag in web.config. EPiServer has the following entry in web.config by default:

<xhtmlConformance mode="Legacy"/>

I'm suspecting this has to do with the EPiServer UI. Anyways, we simply commented out the xhtmlConformance tag in web.config and now it all works as if by magic:

<!-- <xhtmlConformance mode="Legacy"/> --> 

This may have some implications in the EPiServer UI, but we have yet to find any?

07 February 2008


Comments

  1. I did have some problems a while ago when developing several EPiServer 4.61 websites. I don't really remember any of those problems, but removing the xhtmlConformance tag solved problems without causing new ones. So, I don't think removing xhtmlConformance (the same as setting mode to Transitional) will have any implications in the EPiServer UI.
Post a comment    
User verification Image for user verification  
Ted Nyberg (Hallvarsson & Halvarsson)

About me

I'm a consultant with the corporate communications consultancy Hallvarsson & Halvarsson, part of the transatlantic stakeholder management and financial communications firm Sage Holdings.

My focus areas include web applications, intranets, and corporate websites.

Live Messenger

Hallvarsson & Halvarsson logo
 MCPD, MCTS and MCP logos

Bloggtoppen.se


Syndications


Archive


Tag cloud

EPiTrace logger