<input type="submit" id="Submit" value="Submit" onclick="OpenWindow()" /> <input type="submit" id="Update" value="Update" style="visibility:hidden" /> <input type="submit" id="Edit" value="Edit" style="visibility:hidden" />
function OpenWindow() { debugger //alert("Student form window"); //document.getElementById("Confirm").style.visibility = true; //document.getElementById("Update").style.visibility = true; // document.getElementById("Submit").style.visibility = false; var con = document.getElementById('<%=Confirm.ClientID%>'); var update = document.getElementById('<%=Update.ClientID%'); var edit = document.getElementById('<%=Edit.ClientID%'); con.style.display = "none"; update.style.display = "block"; edit.style.display = "block"; var dialog = $("#window-prototype").kendoWindow({ width: "500px", height: "280px", modal: false, visible: true, resizable: true, actions: ["Custom", "Minimize", "Maximize", "Close"], title: "Student Form" }).show().data("kendoWindow").open().center();
var con=document.getElementById("#Submit");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)