Check out example codes for "asp net c# browser cursor wait". It will help you in understanding the concepts better.

Code Example 1

<head runat="server">
<script>
        function setHourglass()
        {
            document.body.style.cursor = 'wait';
        }
</script>
</head>
<body onbeforeunload="setHourglass();" onunload="setHourglass();">
</body>

Learn ReactJs, React Native from akashmittal.com