Re: refresh button help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Rodchar:
When you hit the "refresh" button, the browser need to resend the form's
fields to recreate the page, this is the reason to show the dialog with
message "it needs to resubmit/resend the data?".
To prevent this you can add a button to the webform that recreate the
page and use this instead the browserr's "refresh" button.

Gustavo A. Cantero
CEO - Scientia® Soluciones Informáticas
MCP - MCSD - MCTS
http://www.scientia.com.ar
http://www.programandoamedianoche.com
http://foro.scientia.com.ar



-----Mensaje original-----
De: rodchar [mailto:rodchar@xxxxxxxxxxxxxxxxxxxxxxxxx]
Expuesto a las: Lunes, 20 de Octubre de 2008 12:50 p.m.
Expuesto en: microsoft.public.dotnet.framework.aspnet
Conversación: refresh button help
Asunto: refresh button help

hi all,
i betcha here's a question never asked before ;)
i have a simple web form with a gridview and a button. the button doesn't
do
anything but a postback.
i load up the gridview from the database, hit the button, then hit the
refresh button and here's where my question occurs. I get a message saying
that "it needs to resubmit/resend the data?"

what is happening here and how do I resolve this undesired message?

thanks,
rodchar

.



Relevant Pages

  • Re: Giving an application a window icon in a sensible way
    ... On top of it all, there is simply no rational justification for ... and refresh early, ... only logical reason for the design choice they made instead of ... never hit in the first place. ...
    (comp.lang.java.programmer)
  • Re: Windows refresh
    ... i don't mind so much hitting the refresh button as ... > refresh when i hit the refresh button with out the box ... >>Per user Group Policy Restrictions for XP Home and XP Pro ... >>Please reply only to the newsgroup so all may benefit. ...
    (microsoft.public.windowsxp.customize)
  • Re: refresh causes double post
    ... submit, your comment appears as it should, but then if you hit refresh ... Now if you hit 'refresh' the browser assumes you want the same page refreshed, the one that was produced as a result of your posting. ... And in page1.php you could display the result if it exists in the ... So your PK - or unique index depending on how you choose to resolve this - would be name,email,id. ...
    (comp.lang.php)
  • Re: Auctioneer Oddness
    ... to sell and hit the "Refresh" button to see what else is already in the ... But if I click on the browse tab some items ... not show up in the appraiser tab using the "Refresh" button. ... profiles for each one, so that data doesn't get all mixed together. ...
    (alt.games.warcraft)
  • Re: Auctioneer Oddness
    ... to sell and hit the "Refresh" button to see what else is already in the ... But if I click on the browse tab some items ... not show up in the appraiser tab using the "Refresh" button. ... profiles for each one, so that data doesn't get all mixed together. ...
    (alt.games.warcraft)