バージョン

ItemInserted プロパティ

シンタックス
'宣言
 
Public Property ItemInserted As String
public string ItemInserted {get; set;}
使用例
WebDropDown1.ClientEvents.ItemInserted = "WebDropDown_ItemInserted"
WebDropDown1.ClientEvents.ItemInserted = "WebDropDown_ItemInserted";
// The client event 'ItemInserted' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the DropDownControlEventArgs

//Fires only when items are added programmatically on the client-side
 function WebDropDown_ItemInserted(sender, e) {
     //Gets the drop-down item that is inserted
     var item = e.get_value();

     //Gets the text of the drop-down item
     var text = item.get_text();

     //Gets the index of the drop-down item
     var index = item.get_index();

     alert("New Item '"+ text +"'inserted at index " + index); 
 
 }
参照