Hans,
I'm not certain if this proposed solution would work for you or not.
Here's what's happening: Every time you click an <asp:button you are posting
form data back to the server. When a user refreshes the page that form data
is posted to the form data is reposted. Thus every time a user refreshes the
page after the first post the button is pressed again because it's now part
of the form post.
You could get rid of this by doing a Response.Redirect back to the same page
after the intitial button click. But of course that will make it seem as if
the user is entering the page for the first time. So if the button click is
changing the page layout you could have a problem there.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"Hans Meier" <hm@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I have to add that it seems that a pagereload by the user raises the
itemcommand again so there must be a chance to avoid this (I hope) :D
Hans