Hi,
I am building a C# web application.
Some of the button_click events are a bit time consuming.
I want the mouse cursor to change to the sand clock that windows use while the events are in progress, and than change back when the click event ends. How do I do that ?
Thanks,
AlonNot sure how you will detect the start and stop of your action but you can change the cursor using:
document.body.style.cursor="wait";
and
document.body.style.cursor="default";I already figured out how to detect the start and the end of the event (I am using hidden text box and changing its value to "1" when the event stats an "0" as it ends). I think your answer was just what I was looking for. Thanks.
Alon
I am building a C# web application.
Some of the button_click events are a bit time consuming.
I want the mouse cursor to change to the sand clock that windows use while the events are in progress, and than change back when the click event ends. How do I do that ?
Thanks,
AlonNot sure how you will detect the start and stop of your action but you can change the cursor using:
document.body.style.cursor="wait";
and
document.body.style.cursor="default";I already figured out how to detect the start and the end of the event (I am using hidden text box and changing its value to "1" when the event stats an "0" as it ends). I think your answer was just what I was looking for. Thanks.
Alon