Skip to Content
avatar image
Former Member

sap.m.MessageBox is not working on initial page load

In my application, i have to load data on the page load itself.I am trying to display "NO DATA" message when data received is empty by using

sap.m.MessageBox.error(that.i18nURL.getText("NO_DATA_FOUND_ERROR"));

On load popup is appearing and disappearing at the same time.

.In the same application inside any click event triggered the line of code i mentioned above is working fine.

I want to know what initial initilization i am missing to make a sap.m.messageBox to work in onLoad functions.

Thankyou

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers