Ajax.NET Using PageMethods
This is great article for using Ajax.NET PageMethods.
By using PageMethods we can call Server Side Code function directly from the client and get some results returned from Server.
http://www.singingeels.com/Articles/Using_Page_Methods_in_ASPNET_AJAX.aspx