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. Need JavaScript for Data validation in grid

Need JavaScript for Data validation in grid

Scheduled Pinned Locked Moved Web Development
javascriptcsssales
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.
  • C Offline
    C Offline
    chand10
    wrote on last edited by
    #1

    Hai, I have a grid in my application with the revenue values of a company in one coloumn. I need to validate the data entered in that field and need to change the background color of that perticular field if it contains negetive value. Thanks in advance...... Chandu.

    I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

    R 1 Reply Last reply
    0
    • C chand10

      Hai, I have a grid in my application with the revenue values of a company in one coloumn. I need to validate the data entered in that field and need to change the background color of that perticular field if it contains negetive value. Thanks in advance...... Chandu.

      I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison Thank u Chandu

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

      Add an event to the control you are willing to validate for value. eg: textbox1.Attribututes.add("onclick","javascript:checker1();"); in the page load and write your validation script in the javascript.

      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