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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Context Menu

Thread ID:





100487 Aug 11,2011 12:10 AM UTC Aug 17,2011 01:37 PM UTC WinForms 2
Tags: EditControl
Asked On August 11, 2011 12:10 AM UTC

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 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?

Iniyen M A [Syncfusion]
Replied On 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;


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon