zoukankan
html css js c++ java
关闭子页面,刷新父页面
父窗口弹出子窗口的 button处理事件:
private
void
butDeta_Click(
object
sender, System.EventArgs e)
{
Response.Write(
"
<script>window.open('CangkuDetaList.aspx?strMateNo=
"
+
txtMateNo.Text
+
"
&strWaretype=
"
+
ddlWareType.SelectedValue
+
"
','new1','width=750,height=400,toolbar=0,scrollbars=2,top=200,left=200');</script>
"
);
}
父窗口html代码添加如下javascript代码:
function
refresh()
{
this
.location
=
this
.location;
}
子窗口关闭窗口的 button处理事件:
private
void
imgbtnBack_Click(
object
sender, System.Web.UI.ImageClickEventArgs e)
{
Response.Write(
"
<script>window.opener.refresh();window.opener=null;window.close();</script>
"
);
}
查看全文
相关阅读:
转贴WP7开发资源大收集
Howto: 利用Web Camera模拟Windows Phone 7的重力加速度传感器
File Transfer over Socket Between Windows Mobile Devices
OpenGL ES Wrapper on Windows Mobile
利用WiFi在Windows Mobile上建立Adhoc网络
分享一个WebMap引擎(MapBar)
iNove改进版(仿NeoEase的paled主题)
ICDsoft主机半价优惠码推荐
motorola XT615手机开箱照
2011RTIC论坛回顾
原文地址:https://www.cnblogs.com/qfb620/p/1506798.html
最新文章
IM over Socket Between Windows Mobile Devices
Windows Phone Developer Tools RTW 新特性Pivot控件
Windows Phone Developer Tools RTW 新特性Panorama控件
转帖《你写软件我推广 — 微软 & WPMind 社区合作计划》
传感网标准化论坛暨ZigBee电信业务规范发布会
利用SDF2.3获取Windows Mobile上的WiFi接入点信息
移动物联网 之 智能家居
Visual Studio 2010 全球首发
微软中文论坛2010新年Party手记
Apr.2010 Microsoft MVP连任
热门文章
有关Visual Studio 2010 RTM与Windows Mobile/Windows Phone开发
Windows Phone 7 开发 视频资料
物联网产业进展
修改Windows Mobile默认按键消息
在Windows Mobile上隐藏你的应用程序
移动物联网 之 家电节能 (1)
Windows Mobile 6.5.3 Developer Tool Kit
Silverlight for Windows Phone Toolkit 更新
第五届MobileDev Day
移动物联网 之 家电节能 (2)
Copyright © 2011-2022 走看看