refresh button help

  • Thread starter Thread starter rodchar
  • Start date Start date
R

rodchar

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
 
this is a standard browser question. it happens whenever a refresh is
actually a postback of form data. this hack was added to most browsers due to
the adbundance of poorly written web applications that could not handle this
event (double billing credit cards, etc).

you can use ajax instead, or do a redirect after postback to avoid this
message.


-- bruce (sqlwork.com)
 
Back
Top