重写 DropwnDownList 服务器端代码: [DefaultProperty("ID")] [ToolboxData(@"<{0}:DfSelect runat=""server""></{0}:DfSelect>")] public partial class DfSelect : DropDownList, INamingContainer 相应的客户端脚本如下: function _GetPreviousSibling(obj) 用另一种思路:把原来的Select暂时 隐藏起来. [DefaultProperty("ID")] [ToolboxData(@"<{0}:DfSelect runat=""server""></{0}:DfSelect>")] public partial class DfSelect : DropDownList, INamingContainer } 相关文章: 2022-12-23 2021-06-24 2021-04-13 2022-12-23 2021-09-26 2022-12-23 2022-12-23