Sunday, March 11, 2012

UpdatePanel Animation Extender error with AnimationTarget

Hi,

You are correct that AnimationTarget expects the ClientID of your server control. I pasted your above code and trimmed it down 'til it ran (since I don't have most of the other referenced controls) and the animation worked fine. Since you'll see that error even if the animation is never played, I'm guessing the real problem has to do with your update panel. Change the AnimationTarget to use pnl_Updating's ClientID (probably ctl00_cph_PageContent_pnl_Updating) and then put something in your UpdatePanel that you know posts back and you should see it.

Thanks,
Ted


thanks for the help.

The probelm was in the FadeIn and FadeOut. The example I found was bascially doing it backwards. Instead of fadingout the UpdatePanel it was fading out the panel that had the animation... So after correction this and using ClientID's it all works fine now! I still can't figure out though why it worked initially...

No comments:

Post a Comment