Everyone may find that response.redirect ("aaa.aspx");
The previous Alert or the confirm box is invalid.
The reason is that Alert is an event that calls the client, and response.Redirect is also interacting on the client, and the latter blocked the former.
The use of Server.Transfer ("aaa.axpx") can solve this problem because it does not need to conflict with the client.