ejWaitingPopup always shows on init

I am trying to create a waiting popup for an ajax action within an ejDialog as a modal.  However, every time the page loads, the waiting popup is already displayed.

i've tried the following:

  • html: <ej-waitingpopup id="waitingpopup" [showOnInit]="false"></ej-waitingpopup>
  • result: popup still shows on modal open

  • html: <ej-waitingpopup id="waitingpopup" (create)="waitingpopup_create($event)"></ej-waitingpopup>
  • ts:  waitingpopup_create(e:any){
var targetID = "#pageBody"
var a = $("#waitingpopup").data("ejWaitingPopup");
a.model.showOnInit = false;
a.setModel({ appendTo: targetID, target: targetID, showOnInit: false });
a.hide();
}
  • result: popup still shows on modal open

any help is appreciated.  thanks.

2 Replies

DU Duran November 6, 2017 10:16 PM UTC

Nevermind, there was another place in my code that was showing the popup on page load.

fixed.  sorry for the trouble.



KR Keerthana Rajendran Syncfusion Team November 7, 2017 04:28 AM UTC

Hi Duran, 
 
Thank you for contacting Syncfusion support. 
 
Yes, setting “showOnInit” property  to false in waiting popup will not display the popup on page load. We are happy to hear that your issue has been resolved. Please get back to us if you require any further assistance on this. We will be happy to assist you. 
 
Regards, 
Keerthana. 


Loader.
Up arrow icon