UpdatePanelAnimationExtender downgrade

Jan 25, 2007 at 2:02 PM
The fallowing code worked fine in beta,

- Now the “AnimationTarget” must be the clientID! Why?
- If the page has a grid which is not updating the panel, after callback returns the DetailedView remains disabled so it can’t be used anymore!!!

<act:UpdatePanelAnimationExtender id="upaeMain" runat="server" TargetControlID="UpdatePanel3">
<Animations>
<OnUpdating>
<Sequence>
<Parallel duration="0"><EnableAction AnimationTarget="dvCustomsFee" Enabled="false" /></Parallel>
<StyleAction Attribute="overflow" Value="hidden" />
</Sequence>
</OnUpdating>
<OnUpdated>
<Sequence>
<Parallel duration="0"><EnableAction AnimationTarget="dvCustomsFee" Enabled="true" /></Parallel>
</Sequence>
</OnUpdated>
</Animations>
</act:UpdatePanelAnimationExtender>
Jan 26, 2007 at 1:51 PM
In release 10123 of UpdatePanelAnimationBehavior.js comment these lines in function _pageLoaded to not to call only updated panels (like in previous version) :

// only updated panel will refreshed
/*var element = this.get_element();
var panels = args.get_panelsUpdated();
for (var i = 0; i < panels.length; i++) {
if (panelsi.parentNode == element) {*/
this._onUpdating.quit();
this._onUpdated.play();/*
break;
}
}*/