Hey Peter-
Assuming your goal is to write some server-side code that handles a Ajax event fired by JavaScript on a ContentPage (with a AjaxManager on your MasterPage, and a AjaxManagerProxy on your content page), you can use this snippet:
This allows you to handle your ajax requests in your content page code when they're fired from the client, like this:
Hope that helps!
-Todd