Hi. you can use scriptmanager for this from your code behind page..
ScriptManager.RegisterStartupScript(this, this.GetType(), Guid.NewGuid().ToString(), "javascript:confirm('your message...')", true);
Confirm function will return 'true' if 'OK' button is clicked and 'false' when 'Cancel' button is clicked. So perform your actions based on the button clicked....