问题描述
<scripttype="text/javascript">functionhandleError(ajaxContext){varresponse=ajaxContext.get_response();varstatusCode=response.get_statusCode();alert("Sorry,therequestfailedwithstatuscode"+statusCode);}</script><%=Ajax.ActionLink("Clickme","MyAction",newAjaxOptions{UpdateTargetId="myElement",OnFailure="handleError"})%>转换成mvc的razor后,一直提示不支持get_response函数怎么解决???
解决方案
解决方案二:
谁能帮忙解答一下呢!!!
解决方案三:
怎么用Ajaxhelper来处理Exception呢???
时间: 2024-12-31 01:50:13