I have some TextBox and ComboBox which show some information gotten by GET and POST requests.
When I click the button to get data, my cursor changes from arrow to a hand pointing… I have to wait some seconds to get the data because of internet velocity o data amount and I would like to show a llitle window showing “Fetching data”, show a dynamic icon, etc while I am fetching data.
I have tried opening a Display and show the message before calling my script but the my program executes all methods before opening the Display and it shows up only a few miliseconds before it get closed.
We have successfully reproduced the reported issue. The problem occurs because your script is running on the CodeBehind of the “MainPage” display instead of the “Loading” display.
To resolve this, we have made the necessary changes to the CodeBehind of both the loading and MainPage displays. This ensures that the popup will open while the “@Script.Class.MaintenanceWorkOrders.GenerateFailure();” is being executed.
You can download the updated project using the following link: Download Link