框架中怎样使用ajax response.write 另一帖 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 顶下,你用的 scriptmanager? tring scriptstring = "window.parent.frames['rightFrame'].search('" + dx + "','" + dy + "');"; ScriptManager.RegisterStartupScript(this, this.GetType(), "", scriptstring, true); string scriptstring = "<script language=javascript>"; scriptstring += "self.frames['rightFrame'].search('" + dx + "','" + dy + "');"; scriptstring += "</script>";ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "aaa", scriptstring, false); string scriptstring = "<script language=javascript>"; scriptstring += "self.frames['rightFrame'].search('" + dx + "','" + dy + "');"; scriptstring += "</script>";ScriptManager.RegisterStartupScript(Updatepanel1, this.GetType(), "aaa", scriptstring, false); ScriptManager.RegisterStartupScript 第一个参数 是 updatepanel 控件 ID 已测试过的的方法 // 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); 所有都加了个这个self.frames['rightFrame'],结果都出问题了 提示gridview中错误信息 asp.net treeview 搜索功能 vs 2008 问题 页面跳转的参数是怎么加密? 关于一次性上传多张图片的问题像大家请教!!!! 如何在web窗体里加入播放工具,并播放指定的文件!!!(高分) 百度地图api 数据库查询中中文column的问题? 求救啊!动态取值问题,帮忙看看啊 DataGrid中日期格式的小问题,给你100分 Command对象中parameters方法的使用问题? list 绑定
ScriptManager.RegisterStartupScript(this, this.GetType(), "", scriptstring, true);
string scriptstring = "<script language=javascript>";
scriptstring += "self.frames['rightFrame'].search('" + dx + "','" + dy + "');";
scriptstring += "</script>";
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "aaa", scriptstring, false);
string scriptstring = "<script language=javascript>";
scriptstring += "self.frames['rightFrame'].search('" + dx + "','" + dy + "');";
scriptstring += "</script>";
ScriptManager.RegisterStartupScript(Updatepanel1, this.GetType(), "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);