I seem to be having some trouble getting AJAX to work with MasterPages.
I created a new website using the AJAXControlToolkit template then created a simple default.aspx page.
It has a scriptmanager, panel, linkbutton, and an AnimationExtender.
it is set to FadeIn the contents of the Panel when the LinkButton is Hovered and FadeOut the contents when
moving off the LinkButton. This page works as expected.
Then I create a master page and add nothing to it.
Then I created a new WebForm using the master page. In the ContentPlaceHolder, I place the same markup as the default page.
When this page is run it has a Javascript error:
Sys.ArgumentException:
AjaxControlToolkit.Animation.Animation.set_animationTarget requires the ID of a Sys.UI.DomElement or Sys,UI.Control.
No element or control could be found corresponding to 'Panel1'
Parameter name: id
I am at a loss as to what could be causing this. Any help would be appreciated.
Mike