Context Menu

We are using the Edit control for a project here, and I hoped to pick some of your brains for an idea...

We have a large list of commonly used names which the end user may enter into the edit control. The natural choice would be autocomplete, but as best I can tell it's unsupported.

I've been trying to use the contextChoice options, and was wondering if there was a way to change the trigger character. Right now the contextChoice pane only pops open if I enter a '.'

Anyone have a method by which we could accomplish this?

Thanks!
-Mike


2 Replies

MI MichaelMCSI August 11, 2011 12:19 AM UTC

I found the lexem formatting tag ' DropContextChoiceList="true" in the XML. This will let us pull the menu with a prefix. Is there a way to do this without a prefix, more like autocomplete?



IM Iniyen M A Syncfusion Team August 17, 2011 01:37 PM UTC

Hi Michael,

Thanks for your interest in Syncfusion products.

You can achieve your requirement by enabling the EditControl's 'FilterAutoCompleteItems' property. this property will Filters the item in the AutoComplete Context choice and the filtered item alone will be visible. For more information i have included the sample as follows.

[Code Snippet]
this.editControl1.FilterAutoCompleteItems = true;

[Sample]
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=FilterContextSamp2067997518.zip

Please let us know if i misunderstand your query or need further assistance.

We are glad to help you out.

Regards,
Iniyen M.A.


Loader.
Up arrow icon