110,561
社区成员
发帖
与我相关
我的任务
分享
string scriptstring = "<script language=javascript>";
scriptstring += "self.frames['rightFrame'].search('" + dx + "','" + dy + "');";
scriptstring += "</script>";
Response.Write(scriptstring);
ScriptManager.RegisterStartupScript(this.Page, typeof(System.Web.UI.Page), "aaa", scriptstring, false);
// Response.Write(scriptstring);
ScriptManager.RegisterStartupScript(this.Page, typeof(System.Web.UI.Page), "aaa", scriptstring, false);
// ScriptManager.RegisterStartupScript(ImageButton1, typeof(UpdatePanel), "aaa", scriptstring, false);
// scriptstring="alert('你好!')";
ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "message",scriptstring , true);
//ClientScriptManager csm = Page.ClientScript;
//csm.RegisterClientScriptBlock(this.GetType(), "aaa", scriptstring, false);
string scriptstring = "window.parent.frames['rightFrame'].search('" + dx + "','" + dy + "');";
ScriptManager.RegisterStartupScript(Updatepanel1, this.GetType(), "aaa", scriptstring, true);
string scriptstring = "window.parent.frames['rightFrame'].search('" + dx + "','" + dy + "');";
ScriptManager.RegisterStartupScript(Updatepanel1, this.GetType(), "aaa", scriptstring, true);
string scriptstring = "window.parent.frames['rightFrame'].search('" + dx + "','" + dy + "');";
ScriptManager.RegisterStartupScript(this, this.GetType(), "", scriptstring, true);
ScriptManager.RegisterStartupScript(ImageButton1, typeof(UpdatePanel), "aaa", scriptstring, false);
scriptstring="alert('你好!')";