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

Commented Unassigned: UpdatePanelAnimationExtender - Object reference not set to an instance of an object [27979]

$
0
0
Hi,

When I try to use UpdatePanelAnimationExtender I'm always getting the error Object reference not set to an instance of an object.
My project worked fine until I updated Ajax Control Toolkit to version 15.1.4

Thank you,
Comments: I found the factor that caused this error: your UpdatePanel has asp:PostBackTrigger, but UpdatePanelAnimationExtender needs asp:AsyncPostBackTrigger. You can see [here](https://ajaxcontroltoolkit.codeplex.com/SourceControl/latest#AjaxControlToolkit/UpdatePanelAnimation/UpdatePanelAnimationExtender.cs) that UpdatePanelAnimationExtender casts every trigger to AsyncPostBackTrigger in the OnPreRender method, so using AsyncPostBackTrigger is the only way of resolving this problem.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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