Last post Jan 30, 2019 08:12 PM by jzero
Jan 30, 2019 09:43 AM|venkatzeus|LINK
I have a button click event in my web application which does the below functionality:
1) Validates the file - function 1 called inside button click event
2) copy file from one location to another - function 2 called inside function 1
3) deletes file - function 3 called inside function 2
The above 3 functions are part of the same button click event. I want to show a message to the user on the progress of the click event. Example:
File Validation in progress
File Validation completed
when I used labels to store this information, the label text is only shown when the button click event has fully completed.
How to display messages to user on the status when the button click event is in progress?
Jan 30, 2019 08:12 PM|jzero|LINK
Page updates happens only after all done.
Did you considered use o SignalR?
For such kind of dynamic progress, SignalR can do all you need. Once ready, between each step you send a message to Client to change text