//var confirm_value = document.createElement("INPUT"); // confirm_value.type = "hidden"; // confirm_value.name = "confirm_value"; var control = '<%=inpHide.ClientID%>'; if (confirm(objMsg)) { alert(1); document.getElementById(control).value = "1"; //confirm_value.value = "1"; return true; } else { alert(0); document.getElementById(control).value = "0"; //confirm_value.value = "0"; return false; }
string AlertMessage = "Next Working Day Is On " + NextBusinessDate + " Do You Want To Continue?"; this.ClientScript.RegisterStartupScript(typeof(Page), "Popup", "ConfirmApproval('" + AlertMessage + "');", true); string confirmValue = inpHide.Value;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)