The example demonstrates how to register custom action for the button of the Visual WebGui ToolBar.
Download the file by clicking the link above.