Hi,
I'm using the javascript to overide the displayMaxHTMLLengthErrorMessage
Here is my Radeditor definition:
My problem is that I can't get the function to be override, I'm sttil getting the default telerik message: "The added HTML code exceeded the caracter.... ". I don't get any error javascript message. Its just like I didn't declared nothing.
Why my javascript code is not overriding the default message?
I'm using the javascript to overide the displayMaxHTMLLengthErrorMessage
<script type=
"text/javascript"
>
Telerik.Web.UI.RadEditor.prototype.displayMaxHTMLLengthErrorMessage =
function
() {
alert(
"Hello!"
);
}
</script>
Here is my Radeditor definition:
<
telerik:RadEditor
ID
=
"myEditor"
runat
=
"server"
StripFormattingOnPaste
=
"AllExceptNewLines"
Width
=
"100%"
MaxHtmlLength
=
"2000"
> </
telerik:RadEditor
>
My problem is that I can't get the function to be override, I'm sttil getting the default telerik message: "The added HTML code exceeded the caracter.... ". I don't get any error javascript message. Its just like I didn't declared nothing.
Why my javascript code is not overriding the default message?