I am trying to add a popup window to a page that would prompt a confirmation message, I have a button called btndelcompany I added the following code to my page Page_Load sub, but nothing happens
btndelcompany.Attributes.Add("onClick","javascript: return confirm('Are You Sure You Want to Delete this Company?');"
btndelcompany.Attributes.Add("onClick","javascript: return confirm('Are You Sure You Want to Delete this Company?');"