如何在SharePoint2010中为DropDownList添加SelectedIndexChanged事件?
答案 0 :(得分:2)
如果YourDropDownList
是DropDownList
:
YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function);
your_handling_function
是由事件触发的方法:
public void your_handling_function(object sender, EventArgs e)