摘要: 看了这篇博文http://blog.zhaojie.me/2007/12/usercontrol-as-an-template.html做了个练习用户自定义控件生成代码1.我们需要一个一般处理程序 (ashx页面) 在这个页面中我们创建一个control 并为属性字段赋值2.将之前创建的contral 放到一个page对象的contrals集合中3.将页面请求转交给上面说过的page对象 主要是利用了 HttpContext.Current.Server.Execute方法下面附上代码(ashx)using System;using System.Collections.Generic;... 阅读全文
posted @ 2012-01-17 14:21 水草肃 阅读(168) 评论(0) 推荐(0)