How to display a simple please wait on button click

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Newbie to asp.net using vb.ne
Using javascript, I know how to add to an onClick event on a button to display a please wait in a div as my slow connection processes data. When I do this in asp.net the form does not submit.
How do I accomplish this task
Thanks
 
The simplest solution I've seen for such a situation is this:
http://www.aspnetpro.com/NewsletterArticle/2003/08/asp200308bm_l/asp200308bm_l.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com



E43509 said:
Newbie to asp.net using vb.net
Using javascript, I know how to add to an onClick event on a button to
display a please wait in a div as my slow connection processes data. When I
do this in asp.net the form does not submit.
 
It can be achieved by handling the onClick event in button.. u can use
HtmlButton control.. on click, just change the caption. make it disabled or
whatever u want to do with that and then do MyForm.submit(); ... then handle
the serverclick event of button.

E43509 said:
Newbie to asp.net using vb.net
Using javascript, I know how to add to an onClick event on a button to
display a please wait in a div as my slow connection processes data. When I
do this in asp.net the form does not submit.
 
Back
Top