ASP.NET AJAX PageMethod not being called or undefined

23 08 2009

If you’re trying to call a page method from ASP.NET client code but you’re method isn’t being called or FireBug flashes the PageMethods error “PageMethods undefined” then you need to follow the following checklist:

In addition to this list, ensure you’re page method has the same no. of arguments as the client code call AND that the page method is defined as Shared in VB and Static in C#! That was the mistake I made!!