Javascript ASP.NET MVC Ajax:Ajax.Actionlink出错(';b.apply';在MicrosoftAjax.js中不是函数)

Javascript ASP.NET MVC Ajax:Ajax.Actionlink出错(';b.apply';在MicrosoftAjax.js中不是函数),javascript,asp.net,asp.net-mvc,actionlink,Javascript,Asp.net,Asp.net Mvc,Actionlink,我对我的ajax测试网站做了一些更改,现在我的ajax.ActionLinks不再工作了! 相关的ActionLink如下所示: ` “from”和“meep”函数仅为一行程序,如下所示: Function meep(ByVal act As String, ByVal cnt As String) As AjaxOptions Return New AjaxOptions With {.UpdateTargetId = "Content", .OnSuccess = "Hash('

我对我的ajax测试网站做了一些更改,现在我的ajax.ActionLinks不再工作了! 相关的ActionLink如下所示:

`

“from”和“meep”函数仅为一行程序,如下所示:

Function meep(ByVal act As String, ByVal cnt As String) As AjaxOptions  
    Return New AjaxOptions With {.UpdateTargetId = "Content", .OnSuccess = "Hash('" + act + "', '" + cnt + "')", .LoadingElementId = "Loader", .OnComplete = "HideLoader", .OnBegin = "EmptyContent('" + act + "', '" + cnt + "')"}  
End Function  
Function from(ByVal act As String, ByVal cnt As String)  
    Return New With {.fromAct = act, .fromCnt = cnt}  
End Function
当我点击上述按钮时,Hash()执行正常

    function Hash(ghz, ghzz) {
        set_action(ghz);
        set_controller(ghzz);
        window.location.hash = "#" + ghz + "." + ghzz;
    }
EmptyContent也可以工作:

    function EmptyContent(ghz, ghzz) {
        document.getElementById("Loader").style.visibility = "visible";
        document.getElementById("main").style.backgroundColor = "#a0a0a0";
        document.body.style.backgroundColor = "#3c6792";
        return true;
    }
但是,这个过程在某个地方出现了问题。未调用HideLoader()

这是引发的错误,包括堆栈:

Uncaught exception:TypeError: 'b.apply' is not a function  
Error thrown at line 5, column 583 in <anonymous function: Function.createDelegate>() in http://ajax.sinni800.ath.cx/Scripts/MicrosoftAjax.js:return b.apply(a,arguments)  
called from line 15, column 1073 in <anonymous function: Sys.Mvc.MvcHelpers.$2>($p0, $p1, $p2, $p3, $p4) in http://ajax.sinni800.ath.cx/Scripts/MicrosoftMvcAjax.js:$7=$p4.onBegin($6)!==false;  
called from line 11, column 124 in <anonymous function: Sys.Mvc.AsyncHyperlink.handleClick>(anchor, evt, ajaxOptions) in http://ajax.sinni800.ath.cx/Scripts/MicrosoftMvcAjax.js:Sys.Mvc.MvcHelpers.$2(anchor.href,'post','',anchor,ajaxOptions);  
called from line 1, column 0 in <anonymous function>(event):Sys.Mvc.AsyncHyperlink.handleClick(this, new Sys.UI.DomEvent(event), { insertionMode: Sys.Mvc.InsertionMode.replace, loadingElementId: 'Loader', updateTargetId: 'Content', onBegin: Function.createDelegate(this, EmptyContent("Mine", "Home")), onComplete: Function.createDelegate(this, HideLoader()), onSuccess: Function.createDelegate(this, Hash("Mine", "Home")) });
Uncaught异常:TypeError:“b.apply”不是函数
中第583列第5行抛出错误。它侦听哈希,例如:格式为Action.Controller。另一个:#Mines.Home

我希望有人能找到这个