Confirmation Message Box

btnSave.OnClientClick = string.Format("return confirm('Do you want to continue?');");

This should be place in the Page_Load.Once placed it there when the user the clicks the button the confirm message will be popup. This is executed at the client side.

Advertisements