info += "alert('" + strMsgContent + "'); window.location.href = '" + "/web/mmm.aspx"+ "';";
objPage.ClientScript.RegisterStartupScript(this.GetType(), "", info, true);
为什么我在本地跑的时候。能跳转过去,但是把代码放到服务器上。通过本地来调用它的时候,就有问题。
Network Error (dns_unresolved_hostname)
报这样的问题
objPage.ClientScript.RegisterStartupScript(this.GetType(), "", info, true);
为什么我在本地跑的时候。能跳转过去,但是把代码放到服务器上。通过本地来调用它的时候,就有问题。
Network Error (dns_unresolved_hostname)
报这样的问题
"/web/mmm.aspx"+
应该是这里
info = "alert('" + strMsgContent + "'); window.location.href = 'http://" +Request.ServerVariables["HTTP_HOST"].ToString()+"/你站点名称/web/Default.aspx"+ "';";