一:如果在Page_Load中则可以用Response.Redirect("ABC.aspx");

 

二:在其它事件中可以用以下方法:

 

protected void Button1_Click(object sender, EventArgs e)
{
   Page.Response.RedirectLocation 
= "/tt.aspx";
   PageManager1.AjaxAspnetControls 
= new string[] { "Page"};
}

 

 

相关文章:

  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案