- All Implemented Interfaces:
- Serializable
public class PageActionPage
extends BorderPage
Demonstrates how a Page Action can be used to handle an AJAX request.
The Page Action is invoked by Click to handle the AJAX request.
The Page Action method returns an ActionResult that is rendered to the
browser.
A Page Action is a regular method defined on a Page with the following signature:
- the method must take no arguments
- the method must return an ActionResult
PageActions provide the simplest way to handle Ajax requests.
The client-side is implemented using the jQuery library.
- See Also:
- Serialized Form