【发布时间】:2011-04-26 07:59:49
【问题描述】:
SharePoint2010中如何为DropDownList添加SelectedIndexChanged事件?
【问题讨论】:
-
请注意 - 这里没有特定于 SharePoint 的内容 - 您可以在 Web 表单或任何其他需要动态绑定的事件中执行相同的操作。
标签: c# events sharepoint-2010 selectedindexchanged
SharePoint2010中如何为DropDownList添加SelectedIndexChanged事件?
【问题讨论】:
标签: c# events sharepoint-2010 selectedindexchanged
如果YourDropDownList 是DropDownList:
YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function);
your_handling_function是事件触发的方法:
public void your_handling_function(object sender, EventArgs e)
【讨论】: