小结:DropDownList控件不能触发选择改变事件的原因
2008-07-21 12:11
1.没有设置 AutoPostBack="True" 2..cs文件中的“Web 窗体设计器生成”中: InitializeComponent()函数中没有事件的委托语句:this.DropDownList1.SelectedIndexChanged += new System.EventHandler(this.DropDownList1_SelectedIndexChanged); 3.DropDownList控件中各项的value相同 4.在.aspx页面不只一个form控件,去掉多余的form控件。 |
posted on 2010-09-13 12:01 gongwei911 阅读(3613) 评论(0) 收藏 举报