Show interim status when button click event is in progress RRS feed

  • Question

  • User-73514677 posted


    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

    Copying file....

    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?


    Wednesday, January 30, 2019 9:43 AM

All replies

  • User-943250815 posted

    That's correct
    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

    Wednesday, January 30, 2019 8:12 PM