ASPX Redirect

<%@ Page Language="C#" %>
<script runat="server">
  protected override void OnLoad(EventArgs e)
  {
      Response.Redirect("~/NewPage.aspx");
      base.OnLoad(e);
  }
</script>