Quick ASP.Net AJAX example
- new asp.net page(normal nothing special)
- drop a toolbox > AJAX Extensions > ScriptManager control
- set ScriptManager.EnablePageMethods="True" on the html side
- set on the code behind side:
- using System.Web.Script.Services;
- using System.Web.Services;
- [ScriptService]
- public partial class _Default : System.Web.UI.Page
- [WebMethod]
- public static string HelloWorld()