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 Choice not working with leading operator

Thread ID:





93401 Mar 11,2010 03:46 PM UTC Mar 15,2010 03:20 PM UTC WinForms 1
Tags: EditControl
John Kellar
Asked On March 11, 2010 03:46 PM UTC

I am trying to add context choices and running into a problem that I can't quite figure out.

The possible formats for the text are as follows


I can get Date.Today working when the user presses the period key. My problem is when I attempt the other two scenarios. If the leading bracket is in place when I press the colon key the ContextChoiceBeforeOpen event isn't firing. If I don't have the leading bracket it actually shows up. I am guessing this is a problem with my config file, but I am not sure where I can define this properly. Just in case I am correct I have included the language settings I am using, it is based on the VB.NET syntax config.

Thanks for any help


Karikalan Natarajan [Syncfusion]
Replied On March 15, 2010 03:20 PM UTC


Thank you for your interest in Syncfusion product.

The config xml file which you provided, has some error. If you remove the following code from your xml file, ContextChoiceBeforeOpen() will fire while you press colon.

I have attached one sample with config.xml file that works as you expected. To see this behavior, type the following code in edit control .



Let me know if you need further assistance.

Karikalan N


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