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. DataGrid And JavaScript

DataGrid And JavaScript

Scheduled Pinned Locked Moved ASP.NET
javascriptcss
3 Posts 3 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.
  • B Offline
    B Offline
    b_rahul
    wrote on last edited by
    #1

    i have a datagrid which allows multiple Records to be Deleted. one of the columns is chkBox where the user can select which records he wishes to delete. on click of the delete button A javascript Confirm Delete window fires is there any way to show the Confirm Delete window only when one of the chkboxes in the grid has been Seleected. thanks Rahul B

    M A 2 Replies Last reply
    0
    • B b_rahul

      i have a datagrid which allows multiple Records to be Deleted. one of the columns is chkBox where the user can select which records he wishes to delete. on click of the delete button A javascript Confirm Delete window fires is there any way to show the Confirm Delete window only when one of the chkboxes in the grid has been Seleected. thanks Rahul B

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, You can find lots of examples from the site DataGridGirl[^]

      1 Reply Last reply
      0
      • B b_rahul

        i have a datagrid which allows multiple Records to be Deleted. one of the columns is chkBox where the user can select which records he wishes to delete. on click of the delete button A javascript Confirm Delete window fires is there any way to show the Confirm Delete window only when one of the chkboxes in the grid has been Seleected. thanks Rahul B

        A Offline
        A Offline
        atul_moghe
        wrote on last edited by
        #3

        hi Rahul, i have got one solution for u, hopefully it will help u. u can have the collection of the check box just go to all and see whether a single of them is checked or not. the code may eleborate this more easily.. u may add some more functionality for ur requirements.. function validation() { // Take all the elements of the form elm=document.Form1.elements; 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