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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to Preventing double submit in ASP

how to Preventing double submit in ASP

Scheduled Pinned Locked Moved C#
helpcsharpasp-nettutorial
2 Posts 2 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.
  • S Offline
    S Offline
    Sasmi_Office
    wrote on last edited by
    #1

    Dear friends, This is head ache for me to handle this. i got one link to overcome this issue.. which is given below http://wiki.asp.net/page.aspx/1137/preventing-multiple-button-clicks/ its really grate but this is making issue for me my submit button is asp button which have Validation Group = 'Transfer' i have multiple text box on form which is handle dynamic when there is one scenario it is add Validation Group as 'Transfer' and remaining as 'NA' and vice versa. issue is create when this submit button click it is validate the page at this time it is validate each and every control even that control is having Validation group as 'NA'. Can any one help me to overcome this issue.

    Sasmi

    A 1 Reply Last reply
    0
    • S Sasmi_Office

      Dear friends, This is head ache for me to handle this. i got one link to overcome this issue.. which is given below http://wiki.asp.net/page.aspx/1137/preventing-multiple-button-clicks/ its really grate but this is making issue for me my submit button is asp button which have Validation Group = 'Transfer' i have multiple text box on form which is handle dynamic when there is one scenario it is add Validation Group as 'Transfer' and remaining as 'NA' and vice versa. issue is create when this submit button click it is validate the page at this time it is validate each and every control even that control is having Validation group as 'NA'. Can any one help me to overcome this issue.

      Sasmi

      A Offline
      A Offline
      Arun Jacob
      wrote on last edited by
      #2

      Can you check if this link solves your problem, Avoid Multiple Form Submits[^]

      Arun Jacob My Technical Blog : Code.NET

      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