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. Image for the cookie policy date
close icon

Auto-Replace trigger keys

Edit Control v. 4.4 has new feature - AutoReplaceTrigger. This trigger is fired when certain keys are pressed. Developer can define list of these keys within the language definition with help of attribute of TriggersActivators like this:

TriggersActivators=" ;.=()"

It's all great and cool, but how can I fire trigger when user just press 'Enter'? I tried

TriggersActivators=" ;.=()"

with no success. :(

2 Replies

AD Administrator Syncfusion Team March 6, 2007 06:29 PM UTC

Hi Developer,

It is possible to fire the trigger when the 'Enter' key is pressed using the KeyDown event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

rel='nofollow' href=http://www.syncfusion.com/Support/user/uploads/CS_fd99245e.zip>sample


DE Developer March 9, 2007 09:24 AM UTC

Yes! It works a treat, thanks a lot!

Loader.
Live Chat Icon For mobile
Up arrow icon