我有这个 onclick 事件的代码,并且 msgbox 没有弹出。它会在等待点击的状态栏上闪烁。为什么不弹出来。
Dim msg As String = "Patron " & PatName & " has been added to the system?" & vbCrLf
msg = msg + "Do you want to add incident to this patron?"
Dim title As String = "Patron addition confirmation"
Dim MsgResponse As String = MsgBox(msg, MsgBoxStyle.YesNo, title)
If MsgResponse = 1 Then
Response.Redirect("~/AddInciInfo.aspx?value1=" & PassParameters, False)
Else
Me.Dispose()
Response.Redirect("~/SearchPatron.aspx", False)
End If