【问题标题】:Add event in SP2010在 SP2010 中添加事件
【发布时间】:2011-04-26 07:59:49
【问题描述】:

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

【问题讨论】:

  • 请注意 - 这里没有特定于 SharePoint 的内容 - 您可以在 Web 表单或任何其他需要动态绑定的事件中执行相同的操作。

标签: c# events sharepoint-2010 selectedindexchanged


【解决方案1】:

如果YourDropDownListDropDownList

YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function);

your_handling_function是事件触发的方法:

public void your_handling_function(object sender, EventArgs e)

【讨论】:

    猜你喜欢
    • 2017-04-12
    • 1970-01-01
    • 1970-01-01
    • 2011-07-13
    • 2020-10-10
    • 2021-10-03
    • 1970-01-01
    • 2013-06-14
    • 2015-05-06
    相关资源
    最近更新 更多