In my If then else statement I have 2 statements that are if true i need to pop up a message box and then when they hit ok, redirect them to another page. so here is the statements and below that it show how I tried to use some code in the statment, but what happens is on the second statement the pop-up will not come up but it will wait 10 seconds and then redirect itself.
ElseIf txtStatus.Text = "AGR PERM" Or txtStatus.Text = "AGR TEMP" Then
Page.RegisterStartupScript("LoadFunction", "<script type='text/javascript'>alert('Units must Process AGR Injuries & Illnesses')</script>")
Response.Write("<meta HTTP-EQUIV=""refresh&quo ...
Go to the complete details ...