摘要: 转贴标记:http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/demo关键代码及实现思想:Content structure is like:<div class="wrdLatest" id=9>content</div><div class="wrdLatest" id=8>content</div>We create a function sending a query to a dynamic file 阅读全文
posted @ 2011-02-28 22:21 李传涛 阅读(480) 评论(0) 推荐(0) 编辑
摘要: 简单记录一下:自定义验证控件主要是继承自BaseValidator(该类实现了IValidator),我们只需要按照自己的规则实现EvaluateIsValid()方法即可。如果要想在客户端验证的话,可以重写OnPreRender方法。常用属性和方法介绍:ControlToValidate:要验证的控件的IDFindControl(string id):根据传递的Id获得控件(Control)GetControlValidationValue(string name):根据name获得控件的值value别的属性可以自己在类里追加相关的命名空间如下:using System.Web.UI;usi 阅读全文
posted @ 2011-02-28 17:52 李传涛 阅读(278) 评论(0) 推荐(0) 编辑