Ajax的方法在Web页面上的函数名怎么命名?
在CS文件里是
[AjaxPro.AjaxMethod()]
public DataTable GetList(int ID)
{
return null
}
我是想知道在web页面上怎么来用这个AJAX方法?
------解决方案-------------------- <SCRIPT language= "javascript ">
function deleteTemp()
{
JusticeSite.Web.LawyerOffice.LawyerOffice_YearCheck_AuditList.Delete_Temp();
}
</SCRIPT>
------------------------------------------------
private void Page_Load(object sender, System.EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(LawyerOffice_YearCheck_AuditList));//注册
}