you can still use window.confirm in javascriptif you are using the webbrowser and you want to handle it inside your C# code, add a click event handler for your button, use MessageBox.Show, depending on the return value, you can return true or false,see http://support.microsoft.com/?kbid=312777