手动加入
protected System.Web.UI.WebControls.DropDownList DropDownList1;再在中加入
private void InitializeComponent()
{
this.DropDownList1.SelectedIndexChanged += new System.EventHandler(this.DropDownList1_SelectedIndexChanged);
this.Load += new System.EventHandler(this.Page_Load);}
protected System.Web.UI.WebControls.DropDownList DropDownList1;再在中加入
private void InitializeComponent()
{
this.DropDownList1.SelectedIndexChanged += new System.EventHandler(this.DropDownList1_SelectedIndexChanged);
this.Load += new System.EventHandler(this.Page_Load);}
解决方案 »
- 应用母版页后使用ModalPopupExtender无法获取ID的问题
- |zyciis| 急求WebClient HTTPS 网页时报:远程服务器返回错误: (403) 已禁止 谢谢
- 请教 为何有时 #warning 不显示在错误列表中呢?
- 跪求专家,DataList嵌套Repeater,包含的个数不等,不想要每行等高,去掉空白
- ajax程序上传到虚拟主机后为什么产生postback()?
- 请问一下如果在UpdatePanel外触发事件,并仅更新该UpdatePanel
- 菜鸟问一个问题,解决就给分
- 宝玉 上传进度条 如何用到自己的页面中?
- 怎么用dreamweaver 编写asp.net
- ASP.Net的问题
- 为什么在DataGrid可以传递参数,在DataList里就是空值呢
- 还有三天下岗,水晶报表问题
你可以手动填写一个处理事件:
<asp:DropDownList OnSelectedIndexChanged="indexchange" ....
...protected void indexchange(object sender,EventArgs)
{
//
}
然后在后台程序里写个aa()方法