refresh button help

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
 
B

bruce barker

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top