I am building a widget and some of the functionality that I am building attaches event handlers to some of the buttons that are present in the page, with dojo on. The handlers do work when you attach them to microflow buttons and data grid buttons, but they does not seem to work with the standard cancel button, can somebody explain why?
Masterman Barimah Aboagye
You can add a handler to cancel buttons just fine.
Assuming your cancel button is called "cancelButton1", you can go to the page in the client, open the console and paste this: