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. update on button click along with validation

update on button click along with validation

Scheduled Pinned Locked Moved ASP.NET
javascriptdatabasequestionannouncement
1 Posts 1 Posters 1 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
    srishree
    wrote on last edited by
    #1

    Hi,i had been working on a gridview which has textbox and button controls in the itemtemplate fields and few bound fields.my question is that i need to validate the number entered manually in the textbox is a valid entry or not on the button click attribute of the gridview row.if valid i need to update the data entered in the textbox with the existing value in the database......i wrote a javascript to validate tht the entry is valid,but this checks only for the first row of gridview and fails for all other rows........here is my javascript..... function fn_check(which) { var element_length = which.length; alert(which.gv1$ctl02$TextBox5.name); for (i=0;i

    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