Detecting Page Refresh in ASP.Net
There are certain Scenario when we want to detect whether the page was refreshed or not. Or, Whether It was a Postback or a F5 Refresh.. The following Code Snippet will help you out to resolve this Issue..
Now Check the Output by pressing F5 Key and by clicking the Button..