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.
Syncfusion Feedback

Lots of problems with ContextPrompt

Thread ID:

Created:

Updated:

Platform:

Replies:

62771 Jun 21,2007 03:59 PM UTC Jun 22,2007 09:11 PM UTC Windows Forms 4
loading
Tags: EditControl
Frank Zhang
Asked On June 21, 2007 03:59 PM UTC

Hi,

I'm really struggling with the ContextPrompt. The user's guide claimed that I can initiate the ContextPrompt with either the XML config or the code editControl1.ShowContextPrompt(). Neither method worked for me. I have attached a sample which implements both of these methods without success.
The nature of my project prevents me from using an entire pair of parenthesis, "()" as a trigger, as shown in the sample, so please let me know if there's a way I can get the is to work.

thanks,

Frank

ContextPrompt2.zip

Sarath Kumar G [Syncfusion]
Replied On June 21, 2007 10:53 PM UTC

Hi Frank,

Thank you for your interest in Syncfusion products.

Thanks a lot for the sample you have sent. It is possible to trigger ContextPrompt with begin block set to open parenthesis using XML config. This is achieved by using IsComplex property to true. This property should be set to true when making use of complex xmlType. Please refer the following XML code snippet to do so;


[C#]





I have modified the sample program you sent. Here is the sample program for your reference.

http://websamples.syncfusion.com/samples/Edit//main.htm

Please check it out and let me know if you face any issues.

Regards,
Sarath

Sarath Kumar G [Syncfusion]
Replied On June 21, 2007 10:59 PM UTC

Hi Frank,

Thank you for your interest in Syncfusion products.

Thanks a lot for the sample you have sent. It is possible to trigger ContextPrompt with begin block set to open parenthesis using XML config. This is achieved by using

IsComplex property to true. This property should be set to true when making use of complex xmlType. Please refer the following XML code snippet to do so;


[XML]





I have modified the sample program you sent. Here is the sample program for your reference.

http://websamples.syncfusion.com/samples/Edit/F-62771/main.htm

Please check it out and let me know if you face any issues.

Regards,
Sarath

Frank Zhang
Replied On June 22, 2007 07:21 PM UTC

Thanks, that worked out welled. Is there also a trick to the ShowContextPrompt() function?

Sarath Kumar G [Syncfusion]
Replied On June 22, 2007 09:11 PM UTC


Hi Frank,

Glad to know it works. Thanks for the update. Please let me know for any other queries.

Regards,
Sarath

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.

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

;