After activation redirect

I’m trying to get a page to redirect after activation. This is my code but it does not redirect.
It even blocks my registration…
What’s wrong with this codeAny help please.

// User Activated event
public void User_Activated(Dictionary<string, object> rs) {
    //Log("User_Activated");

Response.Redirect("http://www.xxx.xx/")
    
}

It should be something like:ActionResult = Controller.Redirect(“”); // Replace with actual URL