This question is locked. New answers and comments are not allowed.
In version 2011-2-914 the editor doesn't work when I try to add ClientEvents.
I have a working editor. But now I want to add the OnPaste event. When I add the code to catch this event in the editor, the editor doesn't work anymore. The editable area (from what I see, it should be an iframe) isn't rendered anymore. The rest of the editor renders fine, but I can't edit anything. Also, the buttons no longer have the title-attribute and the hover-event doesn't work.
Is this a known problem, or am I doing something wrong. Below is the code I'm using. Without the call to ClientEvents, everything works fine.
I have a working editor. But now I want to add the OnPaste event. When I add the code to catch this event in the editor, the editor doesn't work anymore. The editable area (from what I see, it should be an iframe) isn't rendered anymore. The rest of the editor renders fine, but I can't edit anything. Also, the buttons no longer have the title-attribute and the hover-event doesn't work.
Is this a known problem, or am I doing something wrong. Below is the code I'm using. Without the call to ClientEvents, everything works fine.
Html.Telerik().EditorFor(m => m.Remark).ClientEvents(e => e.OnPaste("Remark_OnPaste")).Encode(false).Tools(cfg => cfg.Clear().Bold().Italic().Strikethrough().Underline().InsertOrderedList().InsertUnorderedList().JustifyLeft().JustifyCenter().JustifyRight().JustifyFull().Unlink().CreateLink()).Localizable("nl-NL").Render();