The new 4.2 control gives me the following error:
WebForm_InitCallback is not defined
Page.TimerTopCats = null;
function GetTopCats()
{
Page.TimerTopCats = self.setTimeout(\"GetTopCatsExec()\", 2000);
}
function GetTopCatsExec()
{
Page.FTV = CFlyTreeView.getInstanceById(Page.FTVid);
Page.FTVRootNode = Page.FTV.findByValue(\"DefaultRebate\")[0];
try
{
Page.FTVRootNode.expand();
}
catch(e)
{
dbgMsg(\"Unexepected error:\" + e);
}
CloseTimer(Page.TimerTopCats);
}
I am using AjaxPro.dll on the same page, but this worked with the previous version.
I have installed the Microsoft ajax extensions on this computer. However, nothing else in the project uses the microsoft ajax.
I had to add the timeout to make this error even happen at all in Internet Explorer 7.0. Otherwise I get an error message that the page cannot be loaded.
GetTopCats is being setup on the serverside:
FTV.OnInitializedJavascript = \"GetTopCats()\";