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

Convert Autocomplete to Lookup field on selection

1 Answer 50 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Courtney
Top achievements
Rank 1
Courtney asked on 12 Apr 2015, 02:25 AM

Hi,

I'd like to use the Autocomplete control as a lookup field. For example you can type in the company name, autocomplete would select the match and as soon as it was selected the field would become a HTML link to the selected object.

 

Eg. Typing ACME selects ACME Ltd.  After selection ACME Ltd. changes to a hyperlink to the company details page.

 

Is this possible with the autocomplete control?

Or would it be better to use the multi-select with a maximum item of 1?

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 14 Apr 2015, 03:54 PM
Hello Courtney,

This behavior is not supported, however you can achieve similar results using a custom solution. For example you can subscribe to the Autocomplete's select event and once it is triggered - hide the entire widget and render the link in its place.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
AutoComplete
Asked by
Courtney
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or