If you run into the JavaScript exception while attempting to add AJAX.net animations to your controls there is a setting in your web.config that you need to update. Open your web.config and locate the tag
<xhtmlConformance mode="Legacy"/> and replace with <xhtmlConformance mode="Transitional"/>.
