2011-04-26 2 views
2

SharePoint20010의 DropDownList에 SelectedIndexChanged 이벤트를 추가하는 방법은 무엇입니까?이벤트를 SP2010에 추가

+0

그냥 참고 - 여기 아무것도 셰어에 특정 - 당신이 같은 행동을 할 것 웹 양식 또는 기타 이벤트에서 동적으로 바인드해야합니다. – Kobi

답변

2

YourDropDownList 경우 DropDownList입니다 :

YourDropDownList.SelectedIndexChanged += new EventHandler(your_handling_function); 

your_handling_function 이벤트에 의해 트리거하는 방법입니다 :

public void your_handling_function(object sender, EventArgs e)