This is a migrated thread and some comments may be shown as answers.

AutocompleteTexBox | display complete dataset

3 Answers 56 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Sachin
Top achievements
Rank 1
Sachin asked on 24 Oct 2015, 09:28 AM

Hi,

 I want to Display all the items  binded to Autocompletetextbox (expanded) the moment we get the focus of the radAutocompletetextbox and apply filter as and when user starts typing characters.

 Filtering is happening when the user starts typing but first pat is not working.

 

Any help is appreciated.

 

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Oct 2015, 04:30 PM
Hello Sachin,

Thank you for writing.

When you enter some text in the RadAutoCompleteBox, the TextBoxElement.ListElement is cleared and filled only with the filtered records. When the editable part is empty, you have not items in the drop down. It would be more suitable to use RadDropDownList which can be populated with items that can be displayed in the popup. It supports auto-complete functionality as well.

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Telerik

0
Sachin
Top achievements
Rank 1
answered on 31 Oct 2015, 05:52 AM

Thanks Dess for your response.

 Do we have Textblocks in RadDropDownList, cause i was looking for a control where i can use autosuggest, with multiple selection, Also current RadAutoCompleteBox does not have any event on textblock removed as my requirement is to pick the selected item only once and once it is picked remove from autosuggest, add it incase that textblock is removed.

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Nov 2015, 11:38 AM
Hello Sachin,

Thank you for writing back.

RadDropDownList does not use text blocks like RadAutoCompleteBox. The RadAutoCompleteBox.TextChanged event is fired every time a new token is added or removed. Hence, you can extract the tokens splitting by the delimiter. I think that RadCheckedDropDownList may be suitable for your case which combines RadDropDownList and RadAutoCompleteBox in order to provide functionality to check items in the drop down area and tokenize them in the text area. You can refer to the following help article: http://www.telerik.com/help/winforms/dropdown-and-listcontrol-getting-started.html

I hope this information helps. If you have any additional questions, please let me know.

Regards,
Dess
Telerik

Tags
AutoCompleteBox
Asked by
Sachin
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Sachin
Top achievements
Rank 1
Share this question
or