We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Multilines for autocomplete

Thread ID:

Created:

Updated:

Platform:

Replies:

118494 Mar 12,2015 07:58 PM Mar 16,2015 05:53 AM WPF 3
loading
Tags: AutoComplete
issam
Asked On March 12, 2015 07:58 PM

hi,
does the autocomplete control support multilines input ?

if not, please suggest me the appropriate way to handle this .
the user have to select from multiple paragraphs (2/3 lines each max), so after the first key press he/she should have some suggetions based on input .


any help is welcome .
thanks and good day .



Thirumurugan Arumugam [Syncfusion]
Replied On March 13, 2015 03:51 AM

Hi Issam,

Thank you for contacting Syncfusion support.

We have prepared a sample that tries to meet your requirement. In this sample we have created a list with multilines input and binding the list to AutoComplete by CustomSource. We have attached the sample and you can download the sample from the following link.

Sample Link: AutoComplete_118494.zip

If we have misunderstood your requirement, please update us with more details about your requirement.

Please let us know if you have any concerns,

Regards,

Thirumurugan Arumugam



issam
Replied On March 13, 2015 04:56 AM

Hi,
many thaks for the sample .

but it just a little further than that, my bad i didn't give more details.

in my early prototyping i have used a combobox with IsEditable Property Enabled bound to an ObservableCollection<BusinessObject> .

so i have some sort of autocomplete with that .
when the user leave the focus of that combobox , it test if there is a valid selected BusinessObject, if not, it append a new one based o the combobox text entered and add it to the ObservableCollection .

this work for simple texts, but not for multilines one .since when the user type the return character it leave the edition momde of the combobox .

so the goal is to have a multiline "autocomplete" control that accept return input, if it would be possible

that's it :)

Thirumurugan Arumugam [Syncfusion]
Replied On March 16, 2015 05:53 AM

Hi Issam,

Thank you for your update.

We have modified the sample that tries to meet your requirement. In this sample, we have set such that auto complete accepts the return inputs by pressing Enter or LostFocus. We have attached the sample and you can download the sample from the following link.

Sample Link: AutoComplete_118494.zip

If we have misunderstood your requirement, please update us with more details about your requirement.

Please let us know if you have any concerns,

Regards,
Thirumurugan Arumugam.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;