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. Web Development
  3. ASP.NET
  4. Disabling a link button

Disabling a link button

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
3 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.
  • R Offline
    R Offline
    Rajiya
    wrote on last edited by
    #1

    Hi, In my application, I am uploading some files and then clicking on the send button which is actually a link button.Since the files are big in size, it takes some time to upload them .In this case i dont want the user to click on the send button again. i.e. If the user has clicked the send button then i dont want the user to click the send button again...... How to disable the clicking of the link button if the user had already clicked? Thanks, Riz

    R 1 Reply Last reply
    0
    • R Rajiya

      Hi, In my application, I am uploading some files and then clicking on the send button which is actually a link button.Since the files are big in size, it takes some time to upload them .In this case i dont want the user to click on the send button again. i.e. If the user has clicked the send button then i dont want the user to click the send button again...... How to disable the clicking of the link button if the user had already clicked? Thanks, Riz

      R Offline
      R Offline
      RepliCrux
      wrote on last edited by
      #2

      Just onclick event say button.enabled = false; and after your work is done you can enable it back again !!

      R 1 Reply Last reply
      0
      • R RepliCrux

        Just onclick event say button.enabled = false; and after your work is done you can enable it back again !!

        R Offline
        R Offline
        Rajiya
        wrote on last edited by
        #3

        On the click event it i am also doing something else but after that even if i disable it...still i can click it. How to prevent it from clicking? Thanks, Riz

        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