ASP.NET弹出页面的应用(VB)
来源:互联网 发布:中国农产品出口数据 编辑:程序博客网 时间:2024/05/22 12:11
有二个页面PAGE1.ASPX,PAGE2.ASPX ,由PAGE1弹出PAGE2,在PAGE2中操作完成并关闭
//PAGE1 btn.Attributes.Add("onclick", "window.showModalDialog('PAGE2.aspx?CTNID=" + strKey + "','','dialogWidth:660px;dialogHeight:300px;dialogLeft:50px;dialogTop:100px;help:no;close:no')")
//PAGE2代码在page_load事件加上 Response.Expires = 0; Response.Cache.SetNoStore(); Response.AppendHeader("Pragma", "no-cache"); 来清除缓存。 Protected Sub btnOK_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click ... '/* Close Page; must add <base target="_self" /> in <head> *? Response.Write("<script language=javascript>") Response.Write("window.close();") Response.Write("</script>") End Sub//PAGE2页面<head runat="server"> <title>Untitled Page</title> <base target="_self" /></head>
- ASP.NET弹出页面的应用(VB)
- asp.net页面弹出对话框
- asp.net模版页面的高级应用
- ASP.NET弹出对话框几种基本方法VB.NET
- 怎样在asp.net页面弹出对话框?
- ASP.NET页面使用JS弹出窗体
- asp.net 页面中间弹出提示
- ASP.NET弹出对话框并跳转页面
- asp.net 点击按钮弹出一个页面
- asp.net页面弹出窗口调用
- ASP.net,Jquery弹出一个子页面
- vb.net的页面跳转
- ASP.NET应用Ajax 无法弹出对话框
- ASP.NET应用Ajax 无法弹出对话框
- ASP.NET的弹出窗口
- asp.net 弹出子页面 锁定父页面
- No 8 · asp.net弹出页面及关闭页面
- asp.net的页面
- jsp的9个内置对象
- 怎样将vs.net与msdn关联起来?
- Kademlia 协议原理简介
- java 缩略图实现(转)
- tolua++初探(一)
- ASP.NET弹出页面的应用(VB)
- [学习笔记]小型论坛功能——初步论坛形式[终]
- Object-oriented of the three basic characteristics
- Hibernate's Lazy strategy(2)
- 0xc0000008 invalid handle 错误原因纪实
- SSH整合理念
- datetime使用大全
- asdfwqerqwrrrrqw
- COM学习笔记(一)