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

Best way to achieve this particular control (autocomplete email-like input)

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sergi
Top achievements
Rank 1
Sergi asked on 21 Jan 2011, 01:30 PM
Hi all,

I must develop a control which is similar to an email input control, the one where you write directions and they can be saved in you agenda or be completely new ones. Instead of emails this is a user name, but that's not important, they're strings. The user would write diferent names separated by commas and, when possible, the control would show autocomplete options.

The basic apparence of the control should be that of a TextBox.

Imagine the list of names is something like this: {Jack, John, Sarah}. If the user starts writing a J the control would show Jack and John as autocomplete options. If the user starts a name with b there would be no autocomplete. The autocomplete would be for each name written, of course.

As far as I know, only the combobox has an autocomplete option, am I right?

I know this particular control doesn't exist, but I wanted to know if there's a control I could use as a base and derive from it.

Regards,
-Sergi Díaz

1 Answer, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 27 Jan 2011, 08:17 AM
Hello Sergi, 


Thank you for contacting us.

Yes, the RadComboBox control could suit your needs. You could easily customize it to look like a TextBox - you need to remove the dropdown button from its template. You could find more information about the RadComboBox control in:

I hope this helps. Please do not hesitate to contact us if you require any further information.


Regards,
George
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
General Discussions
Asked by
Sergi
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or