.NET Framework Bookmark and Share   
 index > Chart Controls for .NET Framework > How to get/track Browser's refresh button click event?
 

How to get/track Browser's refresh button click event?

Hi.. I am working in a c# Asp.Net 3.5 MVC architecture based web application project.
I have a web page which is data driven i.e. whenever the page loads it's data will be refreshed (sort of a questionnaire type) .. My problem is whenever the user clicks on refresh button of the browser the page load event of the page fires and the data is again reloaded.. I need to track the click event of the browser in order to stop data reloading during a refresh button click of the browser.

Note: All the controls in the page are created and populated dynamically during runtime... and I cannot use Javascript (because it should work in all browsers.).

Thanks in advance..

Sourav Kanti Dey
page_Load()
{
if(!IsPostBack)
{
//write the code for dynamically adding control to the page. Using this way the items will not be repeated while post back or refresh.
}
}

Hope the things are clear.

Regards
Akhil

Mark as answer if helpfull.
Akhil.N.P
  • Proposed As Answer byAkhi4Akhi Tuesday, September 22, 2009 10:29 AM
  •  
Akhi4Akhi

You can use google to search for other answers

Custom Search

More Threads

• error generated in using WinSamples with databinding to csv file
• Next Version
• Chart Control with Authentication mode="Forms"
• .Net chart change y-axis label from milliseconds to seconds
• Financial Formula
• How can I change the fonts of Legend on pie chart?
• Reducing space between column categories
• clearing png files / column chart label formatting
• Can I use the Chart Control & Samples With VB.net Express?
• stock Intraday chart on multiple day