ScriptManager的EnablePageMethods属性用于设定客户端javascript直接调用服务端静态WebMethod
EnablePageMethods.aspx
<script type="text/javascript">
<form ></div>
EnablePageMethods.aspx.cs
[System.Web.Services.WebMethod]