private void GetAutoCompleteList(AutoCompleteListEventArgs e) { e.AutoCompleteList.Clear(); for (int i = 0; i < 10; i++) { e.AutoCompleteList.Add(String.Format("{0}{1}", e.AutoSearchText, RandomString(5, true))); } }
/// <summary> /// Triggers the GetAutoCompleteList event. /// </summary> public virtual void RaiseGetAutoCompleteList(AutoCompleteListEventArgs ea) { GetAutoCompleteListEventHandler handler = (GetAutoCompleteListEventHandler)Events[getAutoCompleteList]; if (handler != null) { handler(GetEventSender(), ea); } }
private void repositoryItemMyLookUpEdit1_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e) { GetAutoCompleteList(e); }
private void myLookUpEdit1_Properties_GetAutoCompleteList(object sender, AutoCompleteListEventArgs e) { GetAutoCompleteList(e); }