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. ASP.NET
  4. delete confirm in asp.net with vb.net 1.1

delete confirm in asp.net with vb.net 1.1

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nethelp
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.
  • S Offline
    S Offline
    sandeep_thakur
    wrote on last edited by
    #1

    Sir, I have a datagrid and when i go to delete the row in the grid i want to make it confirm that Are u sure u want to delete that record having id=10 Id is that column in the datagrid. Can I send this message even with the id number.I mean when i delete the record and the row contains id 10 then it should display the message .Are u sure u want to delete the row having id =10. Sir I want to write the code in code behind file. Please help.

    M 1 Reply Last reply
    0
    • S sandeep_thakur

      Sir, I have a datagrid and when i go to delete the row in the grid i want to make it confirm that Are u sure u want to delete that record having id=10 Id is that column in the datagrid. Can I send this message even with the id number.I mean when i delete the record and the row contains id 10 then it should display the message .Are u sure u want to delete the row having id =10. Sir I want to write the code in code behind file. Please help.

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

      Yes, you can. You simply add the id value when emitting the confirm client side script in the server side code. See the sample code from here[^].

      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