I've got a problem using updatepanels inside the wizard.
Each of the wizard steps is a user control in my case, so I load the user controls into the steps. If two of my usercontrols contain updatepanels then I get "Microsoft JScript runtime error: Object required"
somewhere in the Atlas JavaScript code when using the Atlas functionality in the steps:
function destroyTree(element, markupContext) {
if (element.nodeType == 1) { //error on this line
if (element.control) {
markupContext.removeObject(element.control);
element.control.dispose();
}
var children = element.children;
for (var i = children.length - 1; i >= 0; i--) {
var node = children[i];
destroyTree(node, markupContext);
element.removeChild(node);
}
}
}
I've tried moving the scriptmanager wherever it is possible: in the page containing the wizard, in the user controls. It won't happen if I have only one usercontrol/wizard step using updatepanels. So if anyone encountered similar problems or have ideas how to make it work-reply.
have you tried setting Mode="Conditional" on all of your updatepanels?http://forums.asp.net/thread/1268686.aspx
Thanks, that worked!
I've tried setting the mode to conditional on all updatepanels for sure, but probably missed one updatepanel that was set to always or something like that.