I'm using the HTMLEditor control from the ASP.NET AJAX Control Toolkit. Works fine. I'd like to hook a keyup (onkeyup) event so that I can do things like display an (approximate) running count of the number of characters in the editor.
I've deduced that the editor is ultimately a textarea element inside an iframe element. I am able to attach events to the textarea using syntax like this:
$addHandler($get("Editor1_ctl02_ctl01"), "keyup", displayCharCount);
This line runs without error. However, the referenced method (displayCharCount) is never invoked. I don't know whether this is a function of the textarea being in an iframe, or whether the control already eats the event or what.
FWIW, this works as expected in a simple page that uses a normal textarea element.
Any ideas?