随笔 - 111,  文章 - 1,  评论 - 20,  阅读 - 10万
02 2010 档案
Web.config中注册用户控件和自定义控件
摘要:在ASP.NET 的早先版本里,我们通过在页面的顶部添加 <%@ Register %> 指令来引入和使用自定义服务器控件和用户控件时,象这样: <%@ Register TagPrefix="scott" TagName="header" Src="Controls/Header.ascx" %><%@ Register TagPrefix="scott" TagN... 阅读全文
posted @ 2010-02-02 13:08 William2013 阅读(792) 评论(0) 推荐(2) 编辑
ASP.NET解决验证控件与JS脚本验证冲突
摘要:在aspx页面Button的OnClientClick事件中:OnClientClick="if(CheckClientValidate()) {return ValidCustom()}"js脚本中://用户控件验证function CheckClientValidate(){ Page_ClientValidate(); if (Page_IsValid) { return true; } e... 阅读全文
posted @ 2010-02-02 13:04 William2013 阅读(276) 评论(0) 推荐(0) 编辑


< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示