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. Validating Data in DataGrid

Validating Data in DataGrid

Scheduled Pinned Locked Moved Web Development
helpjavascriptquestionannouncement
1 Posts 1 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.
  • A Offline
    A Offline
    azam316
    wrote on last edited by
    #1

    hi, i have used a datagrid control to display the data in my aspx page. i have also set the validation controls to required fields and it works! but it works a bit too well!! let me explain the scenario a little bit. i have used template columns for all the data fields and at the footer of each column, i have placed an empty textbox for accepting new records. Furthermore i have a separate template column to show the edit, save/update and cancel buttons, and at the footer of this column i have placed another set of buttons for saving the new entered data. i have placed a required filed validation for one of the fields 'User Id'. this validation is also at the footer of the column, therefore it checks for the insertion of a NEW User Id. When the no data is entered, the validation works and the error messege is diplayed. also the save button for the new record does not work. but the problem is that the edit buttons dont work as well. and i want all the other buttons to work except for the saveing the new record. well i have explained a bit too much havent i? sorry about that! i have tried to be as short as possible. but please is there any way around this. i am also willing to use javascript, but i am not very familiar with its use. so please recommend me some good links or code. thanx in advance! ☺«««DTA»»»☺

    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