1

Closed

UpdatePanelAnimationExtender onUpdating never fired

description

Hi,

I'm trying to use UpdatePanelAnimationExtender for a FadeIn/FadeOut effect but OnUpdating event is not fired.
I have to use Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler) in order to get it working.

Could you please tell me what am I doing wrong?

sample project:
https://dl.dropboxusercontent.com/u/5073388/Test.zip

Thank you,
Josep
Closed Mar 10, 2016 at 5:08 PM by MikhailTymchukDX
AJAX Control Toolkit was moved to GitHub: https://github.com/DevExpress/AjaxControlToolkit
The fix for this issue is available with the v16.1 release: https://github.com/DevExpress/AjaxControlToolkit/releases/tag/16.1.0

comments

MikhailTymchukDX wrote Nov 30, 2015 at 10:28 AM

You need to set up AsyncPostBackTrigger for the UpdatePanel so that UpdatePanelAnimationExtender can understand what particular UpdatePanel triggered animation.
Please add the following code to the UpdatePanel:
<Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnTest" EventName="Click" />
</Triggers>

etsmes wrote Dec 2, 2015 at 9:37 AM

Hi Mikhail,

Is this the right behaviour? Why buttons are not responding but gridview and other controls are triggering the update panel?

Kind regards,
Josep

MikhailTymchukDX wrote Dec 2, 2015 at 12:37 PM

There can be situations when someone needs to trigger a specific UpdatePanel in case of multiple UpdatePanels on a page. This situation is explained in detail in the 15788 workitem.

On the other hand, this change led to certain confusion when old code which relies on the old extender behavior is updated: 27996

So, to keep both scenarios running, I changed the source code so that it does not break any old projects while providing an option to set up desired behavior for multiple UpdatePanel instances.

If you have any comments on this, feel free to share your ideas.

johnzered wrote Dec 2, 2015 at 2:03 PM

Please try the latest version of the source code.

At least my issues were fixed by the changes made in workitem 27996.

etsmes wrote Dec 3, 2015 at 1:28 PM

Hi,

You are right. With the latest version 27996 it works.

Thank you so much,