社区
ASP
帖子详情
如何用asp.net 写屏蔽ie打印功能
hhmmss
2003-08-25 10:04:12
如何用asp.net 写屏蔽ie打印功能
提供链接,相关文章就给分
...全文
201
4
打赏
收藏
如何用asp.net 写屏蔽ie打印功能
如何用asp.net 写屏蔽ie打印功能 提供链接,相关文章就给分
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
hhmmss
2003-08-26
打赏
举报
回复
to : zoze1026(木鱼) 我又不是没搜过,可能我用的关键词不对吧!
要不你给我写个关键词,呵呵
我的方法是网上找不到的东西
或者我没时间去找的时候
才在这里贴的
我看过一个论坛发贴前的告示我觉得写得很好
不知道您看过没有
而且,我是想解决问题来的
我希望我的朋友,给我最有效的路
当然最快捷的就是给我源代码了
当然我也应该学会其中的奥妙呀
lions911
2003-08-25
打赏
举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>IE功能汇集</title>
</head>
<body>
<div align="center">
<center>
<table border="1" width="90%" bordercolor="#000000" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%">
<OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0>
</OBJECT>
<input onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1>
<input onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2>
<input onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3>
<input onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button>
<input onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4>
<br/>
<input onclick=window.location.reload() type=button value=刷新 name=refresh>
<input onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5>
<input onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32>
<input onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22>
<br/>
<input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2>
<input onclick='window.location="view-source:" + window.location.href' type=button value=查看源文件 name=Button7>
<input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6>
<input onclick=history.go(1) type=submit value=前进 name=Submit>
<input onclick=history.go(-1) type=submit value=后退 name=Submit2>
<input type=button value=剪切 onclick=document.execCommand('Cut')>
<input type=button value=拷贝 onclick=document.execCommand('Copy')>
<input type=button value=粘贴 onclick=document.execCommand('Paste')>
<input type=button value=撤消 onclick=document.execCommand('Undo')>
<input type=button value=删除 onclick=document.execCommand('Delete')>
<input type=button value=黑体 onclick=document.execCommand('Bold')>
<input type=button value=斜体 onclick=document.execCommand('Italic')>
<input type=button value=下划线 onclick=document.execCommand('Underline')>
<input type=button value=停止 onclick=document.execCommand('stop')>
<input type=button value=保存 onclick=document.execCommand('SaveAs')>
<input type=button value=另存为 onclick=document.execCommand('Saveas',false,'c:\\test.htm')>
<input type=button value=字体 onclick=document.execCommand('FontName',false,fn)>
<input type=button value=字体大小 onclick=document.execCommand('FontSize',false,fs)>
<input type=button value=刷新 onclick=document.execCommand('refresh',false,0)>
<input type=button value=刷新 onclick=window.location.reload()>
<input type=button value=前进 onclick=history.go(1)>
<input type=button value=后退 onclick=history.go(-1)>
<input type=button value=前进 onclick=history.forward()>
<input type=button value=后退 onclick=history.back()>
<input type=button value=导入收藏夹 onclick=window.external.ImportExportFavorites(true,"http://localhost");>
<input type=button value=导出收藏夹 onclick=window.external.ImportExportFavorites(false,"http://localhost");>
<input type=button value=整理收藏夹 onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)">
<input type=button value=查看源文件 onclick="window.location = 'view-source:'+ window.location.href">
<input type=button value=语言设置 onclick="window.external.ShowBrowserUI('LanguageDialog', null)">
<input type=button value=加入收藏夹 onclick="window.external.AddFavorite('http://fason.nease.net/', 'Fason的小天地')">
<input type=button value=加入到频道 onclick="window.external.addChannel('http://fason.nease.net/')">
<input type=button value=设成主页 onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://fason.nease.net/')">
</td>
</tr>
</table>
</center>
</div>
<p align=right><A href="http://fason.nease.net" style="text-decoration:none">【阿信的小天地】</a></p>
</body>
</html>
lions911
2003-08-25
打赏
举报
回复
script language="Javascript">
//屏蔽鼠标右键、Ctrl+N、Shift+F10、F5刷新、退格键
//屏蔽F1帮助
function window.onhelp()
{
return false
}
function KeyDown()
{
//alert(event.keyCode);
//屏蔽 Alt+ 方向键 ← 屏蔽 Alt+ 方向键 →
if ((window.event.altKey)&&((window.event.keyCode==37)||(window.event.keyCode==39)))
{
//alert("不准你使用ALT+方向键前进或后退网页!");
event.returnValue=false;
}
//屏蔽退格删除键,屏蔽 F5 刷新键,Ctrl + R
if ((event.keyCode==8)||(event.keyCode==116)||(event.ctrlKey && event.keyCode==82))
{
event.keyCode=0;
event.returnValue=false;
}
//屏蔽 Ctrl+n
if ((event.ctrlKey)&&(event.keyCode==78))
{
event.returnValue=false;
}
//屏蔽 shift+F10
if ((event.shiftKey)&&(event.keyCode==121))
{
event.returnValue=false;
}
//屏蔽 shift 加鼠标左键新开一网页
if (window.event.srcElement.tagName == "A" && window.event.shiftKey)
{
window.event.returnValue = false;
}
//屏蔽Alt+F4
if ((window.event.altKey)&&(window.event.keyCode==115))
{
window.showModelessDialog("about:blank","","dialogWidth:1px;dialogheight:1px");
return false;
}
//屏蔽Ctrl+A
if((event.ctrlKey)&&(event.keyCode==65))
{
return false;
}
if(event.keyCode==13)
{
document.form1.btnLogin.focus();
}
}
</script>
zoze1026
2003-08-25
打赏
举报
回复
呵呵,你还不如直接去 google.com 搜索一下,多的是。
ASP.NET
中的WebService
本文介绍WebService的基本概念及其在
ASP.NET
中的应用实例。通过创建一个简单的
打印
信息
功能
并将其封装为WebService,实现了跨平台、跨语言的应用程序集成。
去掉数字中多余的0(
ASP.NET
)
探讨在
ASP.NET
中如何精确地保留指定数量的小数位数,特别是对于数字2.3405000,期望输出为2.3405而非2.34。
JavaScript、ASP、
ASP.Net
、JSP笔记
本文汇总了JavaScript、ASP、
ASP.Net
、JSP等多种前端技术的实用技巧,涵盖了从基本控件使用到高级
功能
实现的各个方面,如数据验证、页面跳转、数据库操作等。
浅析
ASP.net
Web API的Model验证(使用MVC4框架的Web API须谨慎)
探讨
ASP.NET
WebAPI中参数验证的三种验证器及其工作原理,分析不同验证策略下的问题与解决方案,包括去除InvalidModelValidatorProvider、调整模型属性标记及采用数据契约。
【转】分享几款免费的web
打印
控件
本文对比评测了几款市面上常见的Web
打印
控件,包括DLPrinter、墙外
打印
控件、楚琳Web
打印
控件和jatoolsPrinter免费版。评测从
功能
、兼容性和用户体验等方面进行了详细介绍。
ASP
28,404
社区成员
356,946
社区内容
发帖
与我相关
我的任务
ASP
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
复制链接
扫一扫
分享
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章