随笔分类 -  自定义控件

创建非继承的自定义控件
摘要:控件首先需要继承所有控件的基类:System.Web.UI.Control,并实现两个接口:Istate Manager(实现ViewState),IPostBackDataHandler(处理回发数据)。 TextBoxCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighli... 阅读全文
posted @ 2006-09-08 11:19 头发乱了 阅读(279) 评论(0) 推荐(0)
复合自定义控件实例:Login控件
摘要:LoginCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;usin... 阅读全文
posted @ 2006-09-08 11:14 头发乱了 阅读(1368) 评论(0) 推荐(0)
实现一个简单的自定义控件
摘要:简单自定义控件Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Web.UI;using System.Web.UI.WebControls;using System.ComponentModel;... 阅读全文
posted @ 2006-09-08 11:13 头发乱了 阅读(361) 评论(0) 推荐(0)