Hi,
I've got an ASP.Net page that displays some data from a database. I
have a refresh button on the page that works just fine. If I try to
utilize the browser's Refresh button, I get an annoying message "the
page cannot be refreshed without resending the information". When I
hit "Retry", Page_Load method is called, and IsPostBack is true.
If I change method="post" to method="get", then there is no annoying
message, and page_Load is called with ISPostBack=false, which is
perfect. but the rest application won't work, because a lot of
functionality depends on
I know it's been discussed here many times, but I wasn't able to find
an answer
Any ideas? 3 1310
How many pages have this problem? If that is the only page then it is good
for you to check so of the properties of your control.
chanmm
"Ford Desperado" <fo************@yahoo.com> wrote in message
news:e9**************************@posting.google.c om... Hi,
I've got an ASP.Net page that displays some data from a database. I have a refresh button on the page that works just fine. If I try to utilize the browser's Refresh button, I get an annoying message "the page cannot be refreshed without resending the information". When I hit "Retry", Page_Load method is called, and IsPostBack is true.
If I change method="post" to method="get", then there is no annoying message, and page_Load is called with ISPostBack=false, which is perfect. but the rest application won't work, because a lot of functionality depends on
I know it's been discussed here many times, but I wasn't able to find an answer Any ideas?
Ford Desperado wrote: Hi,
I've got an ASP.Net page that displays some data from a database. I have a refresh button on the page that works just fine. If I try to utilize the browser's Refresh button, I get an annoying message "the page cannot be refreshed without resending the information". When I hit "Retry", Page_Load method is called, and IsPostBack is true.
If I change method="post" to method="get", then there is no annoying message, and page_Load is called with ISPostBack=false, which is perfect. but the rest application won't work, because a lot of functionality depends on
I know it's been discussed here many times, but I wasn't able to find an answer Any ideas?
The message is annoying, but it's the way IE decided to handle
refreshing a page that was posted (a form was submitted). To reload the
current page, it wants to resend the inputs on the 'previous page', and
in cases for example where people are buying something online, you would
want to warn them that their form is being submitted again (duplicate
purchase).
I don't know of a workaround, although I'm sure there's some registry
hack that could disable it on the client's side, but that is usually not
an option for you. Interestingly, I don't know if Opera does this...I
seem to notice that it never has such a warning (whereas Firefox does).
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
This is browser functionality. Unfortunately I don't think there is a
workaround unless we can get the browser programmers to re-code the way this
works I think we're out of luck.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer www.aboutfortunate.com
"Out of chaos comes order."
Nietzsche
"Ford Desperado" <fo************@yahoo.com> wrote in message
news:e9**************************@posting.google.c om... Hi,
I've got an ASP.Net page that displays some data from a database. I have a refresh button on the page that works just fine. If I try to utilize the browser's Refresh button, I get an annoying message "the page cannot be refreshed without resending the information". When I hit "Retry", Page_Load method is called, and IsPostBack is true.
If I change method="post" to method="get", then there is no annoying message, and page_Load is called with ISPostBack=false, which is perfect. but the rest application won't work, because a lot of functionality depends on
I know it's been discussed here many times, but I wasn't able to find an answer Any ideas? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mark |
last post by:
I have a working PHP/MySQL application used for data entry. The data
entry screen includes a "Save" button. The PHP code for this button
looks like this:
if (isset($_POST))
{
if ($_POST ==...
|
by: Noel Wood |
last post by:
Hello,
I have a problem that I'm sure is simple but I have searched the newsgroup
and have not found it posted before so I apologize if it has been asked
heaps of times before.
I have a page that...
|
by: Scott |
last post by:
I have a clickable graph that resides on page 1. If user clicks a data point
on the graph, the page runs again yeilding a 2nd graph that shows a more
detailed graph.
Problem is, I have a...
|
by: Steve |
last post by:
Hi,
I have a private website for 20 people that is similar to a web email client
like hotmail.
There are two frames, one on the left with links for "New", "History",
"Todays" and a frame on the...
|
by: Tarken |
last post by:
Hi,
I am trying to do some refactoring of a web site to ensure that it displays in
the most web clients possible. One of the pages requires to be redirected to
another automatically, for one...
|
by: Andrew Alger |
last post by:
ok i have two forms. Customer.aspx and Parent_Searh.aspx. There is a button
on Customer.aspx that when executed runs javascript code to open up
parent_search as a popup. After the user searches...
|
by: tasmisr |
last post by:
This is an old problem,, but I never had it so bad like this before,,
the events are refiring when clicking the Browser refresh button.
In the Submit button in my webform, I capture the server side...
|
by: ppatel |
last post by:
Problem
I have a problem with web image button control click event. The click event does not get trigger until it has not been clicked once or page refresh occures(which is fine).
When click...
|
by: Juan Romero |
last post by:
Hey guys, please HELP
I am going nuts with the datagrid control.
I cannot get the damn control to refresh. I am using soap to get information
from a web service. I have an XML writer output...
|
by: martin1 |
last post by:
All,
is there window form refresh property? I try to set up window form refresh
per minute. Thanks
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |