Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When I'm refreshing the web page through codes using javascript in asp.net there is message from the browser that will display.

I want to block that message because the reshreshing of that page is a must but using that message the user can block the refreshing.

Anybody knows the answer?

Please help me.
Posted
Updated 7-Feb-11 22:21pm
v3
Comments
Sandeep Mewara 8-Feb-11 1:43am    
What message you are talking of? What and how are you refreshing it?
Sunasara Imdadhusen 8-Feb-11 2:52am    
not clear!!
Dalek Dave 8-Feb-11 4:23am    
Edited for Grammar and Readability.

Check this: How to Block F5 Function key in all frames[^]. Sounds close to what you are looking for. However, it just means that your architecture is incorrect: you need to rethink how you are presenting data to the user: it sounds like you are reloading the entire page when that may not be what you should be or need to be doing. You need to do some more research.
 
Share this answer
 
Code Project Archive[^] has an article that may prove useful in the Auto Refreshing of pages.

Hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900