摘要: 用户控件上有一个下拉式菜单(DropDownList)和一个Button按钮,想实现选择下拉式菜单并点按钮,它会把下拉式菜单选中的Text和value分别赋值给aspx页面的Hyperlink的Text和NavigateUrl。实现方法应该很多,此次,Insus.NET使用了委托(delegate)和事件(event)来实现。首先看看效果演示:InsusEventArgs.cs:InsusEventArgs usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Web;///<summary> 阅读全文
posted @ 2011-11-16 15:33 Insus.NET 阅读(2843) 评论(0) 推荐(2) 编辑