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

Thread ID:

Created:

Updated:

Platform:

Replies:

93401 Mar 11,2010 10:46 AM Mar 15,2010 11:20 AM Windows Forms 1
loading
Tags: EditControl
John Kellar
Asked On March 11, 2010 10:46 AM

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

Date.Today
{Token:Value}
{Token:Value:SubValue}

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





syntaxdefinition_49cf696b.zip

Karikalan N [Syncfusion]
Replied On March 15, 2010 11:20 AM

Hi,

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 .


{this.
{this:


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


Let me know if you need further assistance.

Thanks,
Karikalan N

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.

;