This question is locked. New answers and comments are not allowed.
“This event is fired before the initialization of the editor's content area. ” - i say no
If I wait until the page loads and then start typing in the text area nothing happens. I have to first press enter (or some other command like insert image or change text to bold) then the onkeyup gets triggered when i type. So why and how can I get round this problem? I want the onkeyup event handler to start listening as soon as i can start editing the content - not after i have already typed out a paragraph. (note: i have tried OnClientLoad like the example shows and get same behavior)
My code:
function OnClientInit(editor, args) {
editor.attachEventHandler("onkeyup", function (e) {
alert(“onkeyup”);
});
}
Thanks
***
Article: http://www.telerik.com/help/aspnet-ajax/editor-onclientinit.html
***
If I wait until the page loads and then start typing in the text area nothing happens. I have to first press enter (or some other command like insert image or change text to bold) then the onkeyup gets triggered when i type. So why and how can I get round this problem? I want the onkeyup event handler to start listening as soon as i can start editing the content - not after i have already typed out a paragraph. (note: i have tried OnClientLoad like the example shows and get same behavior)
My code:
function OnClientInit(editor, args) {
editor.attachEventHandler("onkeyup", function (e) {
alert(“onkeyup”);
});
}
Thanks
***
Article: http://www.telerik.com/help/aspnet-ajax/editor-onclientinit.html
***