I guess not (I'm not 100% sure).
And the post is (to be clear) not a kind of "you bad telerik guys made" or something like this :)
It is (regardless of the reason for the problem and not asking who is guilty) just a question if someone knows if there is a way to get PageMethods out of a master pages code behind.
I know you (the telerik guys who make those things) have much more experience with these ajax things than I.
And so my hope was (is) that someone knows the problem - or even has a workaround.
Anyone can tell me: sorry no chance to get PageMethods from a method in a masterpage.
It is not a stopping issue (I made this working by using a common base class for my content pages which holds the webmethod).
So if someone has an idea - it would be great to learn it - if not don't worry.
This works fine for me with Telerik's ScriptManager. The one anomaly I did notice however is that the PageMethods enumeration will not be created if you are defining your webmethods in a user control that you load server-side. This limitation also exists with the asp ScriptManager. So if you need to load User Controls, either define your page webmethods in the base page or as a standard web method in a web service.
I just ran into the same issue and I resolved it by changing the protection level on the WebMethod to public. Seems like the ScriptManager in the Masterpage cannot access the TestIt() method if it is Protected; however, in your first case the scriptmanager could access the protected method since it was in the page itself.