使用模式对话框
2006-03-30 20:10
267 查看
Dim chrStr As String = "msg=window.showModalDialog('AlertShall.aspx?title=修改教学点&src=" & Server.UrlEncode("AssiBranchSchoolEdit.aspx?BSID=" & CType(Me.dgList.DataKeys(e.Item.ItemIndex), String) & "&loadType=view") & "','msg','dialogWidth=560px;dialogHeight=600px;center:yes;help:no;status:no');if(msg!=1){return false;}else{window.location.reload();}"
btnDelete.Attributes.Add("onclick", "if(confirm('确定要删除这个教学点么??')==false)return false")
Page.RegisterStartupScript("Ok", "<script>alert('修改教学点成功!');top.returnValue=1;window.close();</script>")
AlertShall.aspx壳:
<body style="margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;" scroll="no" MS_POSITIONING="FlowLayout">
<iframe id="frame" runat=server frameborder="0" style='WIDTH:100%;HEIGHT:100%'></iframe>
</body>
AssiBranchSchoolEdit.aspx返回参数:
Page.RegisterStartupScript(CStr(rud.Next(0, 10000)), " <script language=JavaScript>alert(""增加热门关键字成功!"");top.returnValue=1;window.close();</script>")
btnDelete.Attributes.Add("onclick", "if(confirm('确定要删除这个教学点么??')==false)return false")
Page.RegisterStartupScript("Ok", "<script>alert('修改教学点成功!');top.returnValue=1;window.close();</script>")
AlertShall.aspx壳:
<body style="margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;" scroll="no" MS_POSITIONING="FlowLayout">
<iframe id="frame" runat=server frameborder="0" style='WIDTH:100%;HEIGHT:100%'></iframe>
</body>
AssiBranchSchoolEdit.aspx返回参数:
Page.RegisterStartupScript(CStr(rud.Next(0, 10000)), " <script language=JavaScript>alert(""增加热门关键字成功!"");top.returnValue=1;window.close();</script>")
相关文章推荐
- 使用SharePoint 2010模式对话框
- iw14.0.50来了,终于可以直接在地址栏输入url打开iw功能页面了;可以自由使用EasyUI等js框架了;显示模式对话框也不再七绕八绕惹人烦了;
- js 模式窗口(模式对话框和非模式对话框)的使用介绍
- kotlin 使用建造者模式自定义对话框
- 在使用模式对话框时,实时改变对话框的位置
- Windows核心编程学习一:使用DialogBoxParam显示模式对话框
- 【win32】day08-位图的使用/坐标系和映射模式/文字和字体/对话框
- kotlin使用建造者模式自定义对话框
- js 模式窗口(模式对话框和非模式对话框)的使用介绍
- 使用SharePoint 2010模式对话框
- 在隐藏模式下使用对话框
- 使用SharePoint 2010 对话框模式
- 关于使用python调用Google浏览器弹出停用开发者模式的对话框问题
- 第六章:模式对话框和Windows通用控件---第八章:使用ActiveX控件
- 使用SharePoint 2010模式对话框
- 9.1 使用模式对话框工作
- 集群搭建:主机宽带拨号上网,虚拟机使用桥接模式,该如何ping通外网
- Android中的观察者模式简单使用
- C#使用Dispose模式实现手动对资源的释放
- Windows Explorer(浏览)对话框和遍历文件夹及其子目录函数(FindFisrFile FindNextFile CloseFind)使用