Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How can I prevent user from resubmitting Button

How can I prevent user from resubmitting Button

Scheduled Pinned Locked Moved ASP.NET
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blumen
    wrote on last edited by
    #1

    Hi, If I have a submit button on my form, users may keep submitting (clicking the button). How can we prevent this. I have googled for this and found that disabling the button is not a good practice. Regads, Blumen

    S N 2 Replies Last reply
    0
    • B Blumen

      Hi, If I have a submit button on my form, users may keep submitting (clicking the button). How can we prevent this. I have googled for this and found that disabling the button is not a good practice. Regads, Blumen

      S Offline
      S Offline
      sulabh2020
      wrote on last edited by
      #2

      There are many options just redirect the user to other sucessfull page, or clear all controls of the page and just check whether there exists value in controls if not than stop user submitting the form.

      Hello Forum Always be in touch to help about the topic ASP.NET

      1 Reply Last reply
      0
      • B Blumen

        Hi, If I have a submit button on my form, users may keep submitting (clicking the button). How can we prevent this. I have googled for this and found that disabling the button is not a good practice. Regads, Blumen

        N Offline
        N Offline
        neerubee
        wrote on last edited by
        #3

        After clicking on submit button you can redirect to other page.

        Thanks & Regards Niranjan

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups