I just need to add an else condition in the following confirm function. So that if cancel is clicked on the box another page opens up.
ScriptManager.RegisterClientScriptBlock(
Me,
GetType(Page),
"confirm ",
"{ confirm('Hello World'); window.location = 'page.aspx' }",
True
);
Any help in this regard would be great.