2015-11-06 50 views

回答

1
ScriptManager.RegisterStartupScript(this,this.GetType(),"page redirect", 
"alert('Message'); window.location='" + 
Request.Url.AbsoluteUri+"';",true); 
1

試試這個

ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "AlertMsg", "alert('Success');window.location ='"+Request.Url.AbsoluteUri+"';", True) 
相關問題