- 博客(8)
- 资源 (2)
- 收藏
- 关注

转载 ASP.NET中公有的六种验证控件
ASP.NET公有六种验证控件,分别如下:控件名 功能描述 RequiredFieldValidator(必须字段验证) 用于检查是否有输入值 CompareValidator(比较验证) 按设定比较两个输入 RangeValidator(范围验证) 输入是否在指定范围 RegularExpressionValidator(正则表达式验证) 正则表达式验证控件 CustomValidator(自定义验证) 自定义验证控件 ValidationSummary(验证总结) 总结验证结果下面,我们来看这些控件
2011-04-21 14:56:00
341
转载 Javascript刷新本页面、父页面、iframe、定时刷新的代码
JavaScript刷新本页面、父页面、iframe、定时刷新,这些代码都是网页制作过程中经常遇到的,拿来分享:一:刷新本页面 前台:window.location.href=window.location.href; 后台:Response.Write("window.loca
2011-07-12 22:51:19
725
转载 ASP.NET后台通过输出JavaScript弹出窗口小结
window.open (page.html, newwindow, height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no) ;--> 参数解释: js脚本开始; window.o
2011-06-30 15:08:00
479
1
转载 JS弹出窗口大全
//关闭,父窗口弹出对话框,子窗口直接关闭this.Response.Write("window.close();");//关闭,父窗口和子窗口都不弹出对话框,直接关闭this.Response.Write("");this.Response.Write("{top.opener =null;top.close();}");this.Response.Write("");//弹出窗口刷
2011-06-10 17:52:00
265
转载 window.open与window.location
<br />Html2009-04-28 09:17:59阅读154评论0 字号:大中小 订阅<br />《1》区别:<br /> window.open()是可以在一个网站上打开另外的一个网站的地址<br />而window.location()是只能在一个网站中打开本网站的网页<br />《2》window.open()详解<br /><!-- <br /> window.open ('page.html') <br /> --> <br /> </SCRIPT> <br /><br />
2011-06-01 20:39:00
524
原创 window.location
<br />window.location方法获取URL 统一资源定位符 (Uniform Resource Locator, URL) 完整的URL由这几个部分构成: scheme://host:port/path?query#fragment scheme:通信协议 常用的http,ftp,maito等 host:主机 服务器(计算机)域名系统 (DNS) 主机名或 IP 地址。 port:端口号 整数,可选,省略时使用方案的默认端口,如http的默认端口为80。
2011-06-01 20:38:00
362
原创 使用onclick跳转到其他页面。
答1: onclick="javascript:window.location.href='aa.htm'" _____________________________________________________________ 答2: onclick="location='URL'" _____________________________________________________________________________答3: onclick="window.location.href
2011-04-23 01:13:00
391
原创 treeview
<br /> //传值展开相应组织架构节点 if (id != "") { foreach (TreeNode tn in treeTeam.Nodes) { if (expColl(tn, id)) { tn.Expanded = true;
2011-04-21 17:57:00
332
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人