473,383 Members | 1,877 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Is there anyway to detect a F5-Refresh

Hello,

I know, this question has been asked a lot of time....

It seems that it is not really possible to detect it within the code-behind.
However, I would like to know if it is possible with a Java Script to detect
it and for instance set a hidden checkedbox (or ...) to a value that tells
me that refresh has been it.

If this is possible I would really appreciate a code snippet ;-)
Thanks,

- José
Jun 27 '06 #1
2 2111
Read this
http://msdn.microsoft.com/asp.net/de...rockAspNet.asp

"José Joye" <jo*************************************@bluewin.c h> wrote in
message news:e5**************@TK2MSFTNGP05.phx.gbl...
Hello,

I know, this question has been asked a lot of time....

It seems that it is not really possible to detect it within the
code-behind.
However, I would like to know if it is possible with a Java Script to
detect it and for instance set a hidden checkedbox (or ...) to a value
that tells me that refresh has been it.

If this is possible I would really appreciate a code snippet ;-)
Thanks,

- José

Jun 27 '06 #2
Thanks a lot,

This was exactly what I was looking for!

- José

"Martin" <x@y.z> a écrit dans le message de news:
eO**************@TK2MSFTNGP03.phx.gbl...
Read this
http://msdn.microsoft.com/asp.net/de...rockAspNet.asp

"José Joye" <jo*************************************@bluewin.c h> wrote in
message news:e5**************@TK2MSFTNGP05.phx.gbl...
Hello,

I know, this question has been asked a lot of time....

It seems that it is not really possible to detect it within the
code-behind.
However, I would like to know if it is possible with a Java Script to
detect it and for instance set a hidden checkedbox (or ...) to a value
that tells me that refresh has been it.

If this is possible I would really appreciate a code snippet ;-)
Thanks,

- José


Jun 27 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: SiuLoBow | last post by:
Hi, Is there anyway to detect the ActiveX control is able to run on the browser or not? After I installed the ActiveX control to my system, user sometimes switch the secruity setting to "not...
2
by: Philip | last post by:
My debugging capabilities within Visual Studio 2003 have stopped working. None of my applications created over the past year will run in debug (F5) mode. I created a simple "Hello World"...
23
by: David McCulloch | last post by:
QUESTION-1: How can I detect if Norton Internet Security is blocking pop-ups? QUESTION-2a: How could I know if a particular JavaScript function has been declared? QUESTION-2b: How could I...
2
by: bdwise | last post by:
I have a page where I detect a postback in the codebehind. But I need to tell the difference between a postback and use pushing . How can I do that? Thanks.
5
by: Nelson | last post by:
Is there anyway I can stop user hitting the F5 or Esc key while using my application. My application is developed in ASP.Net, VB.Net and .Net Framework 1.1. All my clients are using IE 5.5X and...
9
by: lostnewmexico | last post by:
This one has me at whit's end. In order for this to make sense, I will have to lay out the "facts" to get a hypothesis. There is no easy way to explain this. Environment: VC2005. MFC...
5
by: Herb | last post by:
Can I disable or remap these keys in my asp.net website?
8
by: YKI | last post by:
Hello all, I'm creating a creating a web page with C# and ASP.NET where I have a dataGrid with names. It works OK but every time I push on the F5 key reloads all the page again and duplicates...
5
by: Edgard Guilherme | last post by:
Hello all, b4 anything, i am using iis smtp to send the emails.. is there anyway to detect if the "To" email is a valid one ? Like for eg. To = sadjwqewe@askjqw.com (so this email of course...
3
by: mmm | last post by:
I am looking for advice on Python Editors and IDEs I have read other posts and threads on the subject and my two questions at this time are mainly about the IDLE-like F5-run facilities. While I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.