1:在后台操作
ScriptManager.RegisterStartupScript( this.Page , this.GetType() , "New Open" , "window.open('CustomerUpdate.aspx?Customerid=" + Customerid.ToString() + "')" , true);
2:弹出模式窗口:
"window.showModelessDialog('CustomerUpdate.aspx?Customerid=" + Customerid.ToString() + "', '' , 'dialogWidth=830px;dialogHeight=700px;status=yes;help=no;scroll=yes')"
3: 前台绑定
<%--
4:标签链接
');" style="color:#0d6dc7;text-decoration:none;">编辑
在.net framework 1.0早起的版本中如果使用 Response.Write("url");这种方式打开一个新的窗口,会冲掉Html的样式,破坏页面的布局。