I use the example in this page and it works ok for submit cases.
http://www.aspsnippets.com/Articles/Display-loading-image-while-PostBack-calls-in-ASPNet.aspx
but when user refresh page (by button refresh of brower or F5) this indicator is not shown. I tried using unload/load event but it doesn't work. Does anyone have any ideas?
Thanks in advance!
This is how you can do with CSS.
http://tjvantoll.com/2013/04/24/showing-a-css-based-loading-animation-while-your-site-loads/
And once your page load completed at the bottom you can write a javascript to remove loading class.
Here is the live example of that site.
http://tjvantoll.com/demos/2013-04-24/loading.html