Navigation Event

The Navigation Event Control is used to control pages without the use of buttons, page navigation can be controlled with commands instead.  

Like almost all SPARK controls, you can trigger events that are fired when the user interacts with the control (see the Event and Methods sections below and the Event Handling article for more information).


The Navigation Event needs to be used in combination with other controls.  For instance, in this example there are Text controls inside of Panel sections.

The Text controls use the fire and confirmAndFire methods to control the Navigation Event.

This is the result...

Typing "Exit" in the first box ends the service.  Typing "Exit" in the second box returns an alert because of the confirmAndFire method.


With the Navigation Event, there are 3 types of event handlers:

  • Onload event When the page loads
  • On Trigger When the event is fired but if explicitly returns false, the event will not get fired
  • On Boundary If it ends up with a stay on page, the On Boundary event is not going to fire until all asynchronous processes associated with this boundary event are complete

You can use JavaScript logic to affect the effects of the control, depending on the event. More information on using these controls can be found in the Event Handling article.


For detailed information on the available methods for this control, access the JS Doc file.


  • Author: Courtney Silva
  • Date Created: June 23, 2015
  • Date Modified: August 31, 2015
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request