Uncaught TypeError: Cannot read property 'delayedCall' of undefined

Dec 28, 2014 at 10:44 AM|19 Views

Hi experts,

I created a simple view , in which I have included a Application header. Now whenever I click logoff button I defined a event handler in controller of the view. The event handler simply displays an alert .For this I used sap.ui.commons.MessageBox.alert. Sadly, it doesnt show the message and below error is generated in the console

I event tried to mention the jQuery.sap.require("sap.ui.commons.MessageBox"); statement before controller definition starts

Related questions

1 Answer

I don't know what is the problem, I'm checking the source code of button control and i can't reproduce the same error. Try to set the sap-ui-core.js in mode debug "sap-ui-core-dbg.js" to debug code or past your code to jsbin to check.