btnUpdate.Visible = false;
btnSubmit.Visible = false;
myButton.style.visibility="hidden";
myButton.style.visibility="collapse";
onClick
In btn_new button: btn_Save.Visible=true In btn_edit button: btn_Update.Visible=true or if (button1.Text=="Save") { button1.Text="Update" //insert code } else if (button1.Text=="Update") { button1.Text="Save" //update code }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)