Skip to Content
0

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

Feb 02, 2017 at 12:25 PM

31

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers