UpdatePanel + ToolkitScriptManager work in FF but blows up in IE 6+
- by Hans Gruber
I just upgraded my ASP.NET application from AjaxToolkit version 1.0 to version 3.5.
The only code that I had to change as a result of the upgrade was to replace instances of ScriptManager with ToolKitScriptManager.
UpdatePanels that used to work flawlessly in both FF and IE6+ now only work in FF.
The specific problem in IE is twofold:
PostBackTriggers don't perform any PostBack at all (i.e button clicks do nothing)
AsyncPostBackTriggers do perform an async PostBack, but outside of a single hidden field (created by the ToolKitScriptManager itself) no ViewState is being sent back to the server for any controls. Needless to say, controls tend to fail in rather spectacular fashion when they can't access their ViewState during a PostBack. :)
The only thing I can think of that would account for this only failing in IE6+, is that there is some malformed JavaScript getting piped down that FF is able to work around/ignore but that causes IE to self-destruct
Downgrading to the 1.0 version of AjaxToolkit would probably fix this issue, but there are several key features in the 3.5 I need to leverage so this would be painful.
Thanks for reading!