Disable and redirect a form submit button

Discussion in 'ASP.NET / ASP.NET Core' started by quazter, Sep 4, 2011.

  1. I have a page that allows users to send emails. When you click on submit I need it to do two additional things:

    1. Prevent duplicate submission by disabling the submit button after it has been clicked

    2. redirect to the same page by re-loading the empty form again without the values from the previous post

    My code is in vb. Please help.

    Thank you
     
  2. Take a look at my Contact page, if it works the way you want send me your Email address in that contact form and I'll send you the code.
    http://msftwise.com/contact/
    All the best,
    Mark
     
  3. works perfectly, thanks!
     
  4. Kool ;-)
     
  5. Note to those who are reading this and spamming me with junk:

    The Contact page records your IP, the Server has your Demographics.
     

Share This Page