[英]Client Rendering Problem after 'page.' calls
我已經嘗試過“ 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");
}
任何人,有什么想法嗎?
回答
好吧,它最終變得有些愚蠢。 代碼聞起來了。
我用來觸發PostBack的按鈕具有觸發重定向的處理程序,我只是刪除了該處理程序,保留了PostBackUrl設置和魔力。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.