Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Trigger loader overlay from Dojo widget

Vote:
 

There is an overlay which EPiServer sometimes shows when loading content takes longer than usual.

Is there a way to trigger that overlay for lenghty operations that are triggered by an editor?

Use case:

- Editor clicks a custom command button in the UI

- The loader overlay is displayed by the custom command

- A lenghty operation is carried out in the background

- The custom command removes the loader overlay

- The editor now knows the lenghty operation has completed

#119304
Mar 26, 2015 15:22
Vote:
 

Unfortunately, there does not seems to be a prepared API for this.

#119310
Mar 26, 2015 15:47
Vote:
 

Ok! Thanks! I might have a look at http://dojotoolkit.org/reference-guide/1.10/dojox/widget/Standby.html, but it would be sweet to trigger the native EPiServer one.

Edit for future reference: I think the refresh method in ContentPane.js might be a good place to look, it mentions posting the "Loading..." message. The loadingMessage seems to be the actual text to be displayed.

#119312
Edited, Mar 26, 2015 15:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.