Hello, I am looking to trigger a client-side JavaScript confirm message from the code-behind in ASP.NET.
I need to capture the true or false return value from the confirm message.
Currently, I am attempting to do this using the following method, but it seems to be incorrect. Can someone please guide me on how to achieve this correctly?
ScriptManager.RegisterStartupScript(this, this.GetType(), "myconfirm", "confirm('No Rule Type Ids found for This Rule.');", true);