I have a CKEditor control in a dialog form. For whatever reason, the TextChanged, KeyUp, KeyDown, KeyPress events don’t fire. TextChanged does fire if the focus changes, but not while the user is typing.
I actually asked a similar question, but about TinyMCE a long time ago. I am wondering whether this issue has been addressed since then in my version of WiseJ (2.2.x) or the newer ones.
Thanks, Frank. I tried this very thing with the version I am working with (2.2.x) and it didn’t work. Just want to confirm that this got fixed in more recent versions and I am not missing anything.
Hi Matthew,
Key* events are so called Lazy Events in Wisej.NET.
They only fire for your control if you attach a handler to them.
It´s not enough e.g. to just override OnKeyDown.
Please find attached a simple sample that attaches to KeyDown.
Once you attached to it, you can also use the TextChanged event because
it will also be synced together with the KeyDown event.
(see uncommented code in KeyDown, it´s enough to just attach to it).
Best regards
Frank
Please login first to submit.