关于刷新问题 在cookie里面做一个标记 记录刷新后要定位的节点 然后刷新的时候级级展开,直到你的标志位后,进行操作。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ifrem 点了删除按钮后 注册一个脚本javascript:parent.document.location.href=parent.document.location.href; (dhtml编程)左右都使用iframe 或者(asp.net编程)不要使用iframe。 StringBuilder scriptstring = new StringBuilder();scriptstring.Append("<script language=javascript>");scriptstring.Append("parent.document.location.href=parent.document.location.href;");scriptstring.Append("</script>");string js = scriptstring.ToString();Page.RegisterClientScriptBlock("Setfirstfocus", js); (dhtml编程)左右都使用iframe 或者(asp.net编程)不要使用iframe。为什么? c#中用StringBuilder类需要引用哪个命名空间? 如果你使用dhtml对象(window.Frames)来控制,不需要刷新。如果你不使用iframe,那么虽然刷新,右边内容的细节状态都在页面上(例如右边有许多查询条件和一个GridView显示查询结果,那么页面无论如何刷新,查询条件总是保持的)。而iframe在父页面刷新的时候,我不知道如何正确保持状态。对于页面刷新时asp.net的速度你不用担心。几乎所有人都不会自己写灵活的缓存依赖项来控制片断缓存,从而他们的页面显示速度比应该有的速度慢很多被,不是也还用的好好的。而防止闪烁则是使用asp.net ajax。如果你不太了解asp.net,使用第一种办法去暂时解决问题比较好。 StringBuilder scriptstring = new StringBuilder();scriptstring.Append("<script language=javascript>");scriptstring.Append("parent.document.location.href=parent.document.location.href;");scriptstring.Append("</script>");string js = scriptstring.ToString();Page.RegisterClientScriptBlock("Setfirstfocus", js);右边iframe还是空白的,不能显示 重定向 ajax 1.0 框架客户端的$get与$find函数有什么区别? 会URL重写的来~ 着急~~关于DataTable的问题 编辑数据后如何实现这样的效果? csdn首页左上的翻转特效图怎么做的哦? datalist的问题 白璧有微霞-->关于 vs 2005 IDE 生成webform事件 linq to sql连接数据库后上传FTP .net 如何清除外站登陆 关于一个登陆窗口登陆两个界面的问题: 关于modalpopupextender的一些问题
scriptstring.Append("<script language=javascript>");
scriptstring.Append("parent.document.location.href=parent.document.location.href;");
scriptstring.Append("</script>");
string js = scriptstring.ToString();
Page.RegisterClientScriptBlock("Setfirstfocus", js);
为什么?
scriptstring.Append("<script language=javascript>");
scriptstring.Append("parent.document.location.href=parent.document.location.href;");
scriptstring.Append("</script>");
string js = scriptstring.ToString();
Page.RegisterClientScriptBlock("Setfirstfocus", js);
右边iframe还是空白的,不能显示