I tried
If IsPostBack Then
Return
End If
It did absolute nothing to prevent multiple submit.
Why would I think that the update panel trick would do anything?
--
Arne Garvander
Certified Geek
Professional Data Dude
Lucid said:
You could put any button in the Ajax update panel and it will do this. Or
in the Page_Load you could always throw in a if(Page.IsPostBack( { return; }
Miss understood the question, thought he was talking about data being
submitted twice on a single button click. Theres always the code-behind
route in the onclick event. Just add a ButtonName.Enabled = False; when the
request was successfully sent.
Hmm...you may be right. I know I've done this before. I think instead of
disabling it, I may have moved it off screen and replaced it with
'submitting form...' text or something.
I'll have to dig through some old code to find it...
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.