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. open input dialog from gridview cancel btn

open input dialog from gridview cancel btn

Scheduled Pinned Locked Moved ASP.NET
databasequestion
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.
  • R Offline
    R Offline
    rmedo
    wrote on last edited by
    #1

    hi i want to take cancel reason from user when he click on cancel linkbutton on the gridview i wrote this line in the rowdatabound event

    delLnk.OnClientClick = "return confirm('Are you sure you want to cancel this booking?');";

    i need to take cancel reason from input dialog and insert it in the database thanks in advance.

    R 1 Reply Last reply
    0
    • R rmedo

      hi i want to take cancel reason from user when he click on cancel linkbutton on the gridview i wrote this line in the rowdatabound event

      delLnk.OnClientClick = "return confirm('Are you sure you want to cancel this booking?');";

      i need to take cancel reason from input dialog and insert it in the database thanks in advance.

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

      delLnk.OnClientClick = "return confirm('Are you sure you want to cancel this booking?');";

      if(

      confirm('Are you sure you want to cancel this booking?')

      ) { // if true } else { //if false; // you can prompt the user to enter the reason here. with the javacript's prompt() dialog box. }

      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