W
wzjlg
Unregistered / Unconfirmed
GUEST, unregistred user!
StringBuilder ScriptString = new StringBuilder();
ScriptString.Append("<script language=javascript>"
ScriptString.Append("function ShowTest()"
ScriptString.Append("{"
ScriptString.Append("
window.showModelessDialog('test.aspx', window, 'dialogHeight: 575px;
dialogWidth: 465px;
edge: Raised;
center: Yes;
help: No;
resizable: No;status:Yes;scroll: No;' );"
ScriptString.Append("}"
ScriptString.Append("</script>"
String js = ScriptString.ToString();
if (!IsClientScriptBlockRegistered("ShowTest")
{
RegisterClientScriptBlock("ShowTest()", js);
}
LinkButton1.Attributes.Add("OnClick", "ShowTest()"
网页对话框网弹出就关闭了
ScriptString.Append("<script language=javascript>"
ScriptString.Append("function ShowTest()"
ScriptString.Append("{"
ScriptString.Append("
window.showModelessDialog('test.aspx', window, 'dialogHeight: 575px;
dialogWidth: 465px;
edge: Raised;
center: Yes;
help: No;
resizable: No;status:Yes;scroll: No;' );"
ScriptString.Append("}"
ScriptString.Append("</script>"
String js = ScriptString.ToString();
if (!IsClientScriptBlockRegistered("ShowTest")
{
RegisterClientScriptBlock("ShowTest()", js);
}
LinkButton1.Attributes.Add("OnClick", "ShowTest()"
网页对话框网弹出就关闭了