The JaxcentPage type exposes the following events.

Events

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

  Member Description
OnClientRequestReceived
Handle this event to process data from JavaScript methods sent by calling the "JaxcentServerRequest( args... );" function defined by the Jaxcent JavaScript file.

The JavaScript call is asynchronous and does not wait for server response -- if it is required to process a server response in JavaScript, define a function in JavaScript and call that function via ExecJavaScriptCode or EvalJavaScriptCode, from your override of this method.

If JaxcentServerRequest was called at the client with no arguments, this method is called with null args. If JaxcentServerRequest was called with 1 arg, this method is passed that arg as "cmd", the "args" is null. Otherwise, "cmd" is the first arg passed to JaxcentServerRequest, and "args" contains the rest of the args.

OnFinalFormData
Event to receive form data during page unloading. The data has the same format as GetAllFormData. But at this time, no further interactions with the page are possible. The data can be saved in the session, or otherwise processed. Field verifications cannot be done here. For field verifications, add handler on buttons or other fields, and retrieve the data either with the event or by calling GetAllFormData().
OnPageLoaded
Jaxcent page-loaded event
OnPageUnloaded
Jaxcent page-unloaded event. Exceptions during handling this event are displayed via JaxcentFramework.JaxcentExceptionHandler

See Also