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