我有dropdownlist已加载到模板列中的控件RadGrid。
加载时我已经设置AutoPostBack='True'并dropdownlist创建了事件SelectedIndexChanged。
DropDownList ddlConditions = new DropDownList();
ddlConditions.ID = "ddl" + name;
ddlConditions.AutoPostBack = true;
ddlConditions.SelectedIndexChanged += new EventHandler(ddlConditions_SelectedIndexChanged);
我的问题是当我更改dropdownlist事件的选定索引时SelectedIndexChanged没有被触发。
谁能帮我解决这个问题?
提前致谢。