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
T

therios

@therios
About
Posts
2
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Disable a button a web form.
    T therios

    Glad it helped. I can't even remember how and where I stumbled across that... allowed me to do a TON of client side automation on forms. Probably NOT the best solution, but in specific areas, it works well...

    ASP.NET tutorial question

  • Disable a button a web form.
    T therios

    I have done pretty much the same thing. I ended up using a little jscript. I call it with the "true" or "false" that I want the item to have.

    function applyvalidate(myenableflag) {
    document.all.validate.disabled = true;
    if (myenableflag == true) {
    document.all.validate.disabled = false;
    }
    if (myenableflag == false) {
    document.all.validate.enabled = false;
    }
    }

    The name of the button is "validate". I do this so that the person has to have a valid form (actively check with jscript) and when it is valid, the validate button lights up. they can then hit the validate button that provides a code for entry into a checklist. Then I light up the submit button. At anytime when the formcheck becomes invalid, i use the same functions to disable the buttons on the fly. Does that help?

    ASP.NET tutorial question
  • Login

  • Don't have an account? Register

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