在SP2010中添加活动

时间:2011-04-26 07:59:49

标签: c# events sharepoint-2010 selectedindexchanged

如何在SharePoint2010中为DropDownList添加SelectedIndexChanged事件?

1 个答案:

答案 0 :(得分:2)

如果YourDropDownListDropDownList

YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function);

your_handling_function是由事件触发的方法:

public void your_handling_function(object sender, EventArgs e)