Hi,
I need to display validation message whenever there is change in text or formatting on the contents of WebHTMLEditor.
As of now I can have validation message on Paste operation, as most of the time application users would be copy pasting comments from Word. For detecting Paste operation I am using JQuery {HTMLEditor.bind('paste', function)}, and that is working fine.
I am able to fire validation message on Keypress event also, but no luck on triggering validation message on formatting changes for comments entered in HTMLEditor.
How can that be done?
Appreciate the response.
Information in article http://ko.infragistics.com/products/aspnet/sample/html-editor/client-side-events helped me to solve the issue....Implemented the client side events AfterAction for reolving the issue. Thanks
Hello,
Thanks for the response, but I do not think this will provide any solution to my issue.
My case is different. I am able to track the changes in WebHTMLEditor if user is doing any keypress event (changing text in HTMLEditor) and able to display the validation message.
The problem that I am facing is if user do not change any text (no keypress) in HTMLEditor and just changes the formatting of the already entered text, then there won't be any keypress event triggered, so the validation message won't fire.
But in this case since there is change in data formatting we would like to display the validation message.
Also I cannot save the original text in hidden variable and use that to compare with text in HTMLEditor, as user might be having huge data.
Let me know if you need additional information on this.
Thanks
Hello Nikhil,
I suggest you to go through the following forum post which discusses similar matter.
http://ko.infragistics.com/community/forums/t/68038.aspx
hope this helps.