我试过,'PreviousPage','PreviousPage.IsCrossPagePostBack''Page.previousPage',page.title
它会导致客户端在此行之后停止呈现页面。
简单的例子
protected void Page_Load(object sender, EventArgs e)
{
response.write("I can see this");
string test = PreviousPage.IsCrossPagePostBack.toString(); //Any page call Causes client rendering to freeze
response.write("But i cant see this");
System.Windows.Forms.MessageBox.Show("However i can see this,proving that the server is still running the code");
}
有人请,有什么想法吗?