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.

Context Menu

Thread ID:





100487 Aug 10,2011 08:10 PM Aug 17,2011 09:37 AM Windows Forms 2
Tags: EditControl
Asked On August 10, 2011 08:10 PM

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?


Replied On August 10, 2011 08:19 PM

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?

Iniyen M A [Syncfusion]
Replied On August 17, 2011 09:37 AM

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;


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

We are glad to help you out.

Iniyen M.A.


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.