Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: UpdatePanelAnimationExtender OnUpdating runs on every postback [15788]

$
0
0
When you have multiple update panels on a page and you are using an UpdatePanelAnimationExtender for one of them, the OnUpdating animation runs for every postback regardless of which mode the UpdatePanel is in (UpdateMode=Always|Conditional).

This is problematic because:

1. The content inside the update panel isn't always changing when the animation runs, however the whole point of the animation is to draw attention to the update panel, showing that the content is changing/updating.
2. The OnUpdated animation only runs when the content in the update panel actually changes... so if a panel fades out OnUpdating and fades in OnUpdated, then your panel will fade out but never fade back in.
3. It seems to me that the current behavior destroys the intended functionality of the UpdatePanelAnimationExtender control all together once you have multiple panels on the page. If OnUpdating would execute only when the associated UpdatePanel actually updates, then people would actually use this control.
Comments: The issue is fixed and the fix is included in the future release. Related changeset: [11f8a4a](https://ajaxcontroltoolkit.codeplex.com/SourceControl/changeset/11f8a4a66effb8051d57ff87e41ffd6c5a41abf8)

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>