I want to navigate from one ASP.NET page to another one (each with a visual webpart) When I click a button on the first page (in my visual webpart of course), I should navigate to the second page. But it seems I cant use Response.Redirect(...) in my c# code of the first visual webpart. Also Server.Transfer cannot be used.
Does anyone know what's wrong? Thanks! (If it isn't possible to use this, is there another way?)
What DOESN'T work:
Response.Redirect("url"); SPUtility.Redirect("url") HttpContext.Current.Response.Redirect Server.Transfer