Hello Infragistics Team/Community,
I badly need your help to resolve my issue with Infragistics2.WebUI.WebHtmlEditor.v9.2. Undo/Redo button does not work in IE7 and 8 but in other browser like Mozilla Firefox and Google Chrome it works fine.
I am using a licensed NetAdvantage 2009 in my current project
QUESTION
Does anyone could help me in resolving this issue.... in ASP.NET?
Thanks in advance!Herald
Hi Herald,
It is possible that your application defines globally javascriptdirectory for Infragistics controls in webconfig. If that is the case, then local js files can not be used. Otherwise, if you followed my suggestions, then local js files supposed to work. Try to create new website, add a webform with WebHtmlEditor, test if it runs correctly. If it runs, then please add to location of website new directory "js", copy there all 4 ig_htmleditor*.js files and<ighedit:WebHtmlEditor ... JavaScriptDirectory="./js"></ighedit:WebHtmlEditor>If that will not work, then I do not know how to get around, but to upgrade dlls used by your application to latest version of NetAdvantage.
Viktor Snezhko"] Hi Herald, I can not explain why that happens in your application. As far as I remember undo/redo always worked under IE6/7/8.Try to create a temporary webform with single control WebHtmlEditor and test how it runs. Maybe some custom logic in your application affects behavior.I retested again undo/redo with combination of Ctrl+z/Y in IE7/8 browser mode under IE9. All possible combinations worked correctly. I also tested IE7/8 under IETester. The IE7 did not work at all, I guess, it does not support contenteditable. The IE8 did nothing for Ctrl+Z/Y, but undo/redo buttons worked correctly. If I undertand correctly, you do not want and cannot update NetAdvantage for latest versions. In this case, the best I can do for you, is to send you latest js files used by WebHtmlEditor.To use them you should extact them to location of your project and set JavaScriptDirectory to that location. For example, create js directory within your website, copy there js files and set property:<ighedit:WebHtmlEditor ... JavaScriptDirectory="./js"></ighedit:WebHtmlEditor> I expect that latest js files should work with older dll, though some features my work slightly different. For example, latest js files have logic to keep server-value of editor height under IE, they have better support for validators and few other differences. If you will find any side effects or problems, then that approach with mismatching js files should not be used.
I can not explain why that happens in your application. As far as I remember undo/redo always worked under IE6/7/8.Try to create a temporary webform with single control WebHtmlEditor and test how it runs. Maybe some custom logic in your application affects behavior.I retested again undo/redo with combination of Ctrl+z/Y in IE7/8 browser mode under IE9. All possible combinations worked correctly. I also tested IE7/8 under IETester. The IE7 did not work at all, I guess, it does not support contenteditable. The IE8 did nothing for Ctrl+Z/Y, but undo/redo buttons worked correctly.
If I undertand correctly, you do not want and cannot update NetAdvantage for latest versions. In this case, the best I can do for you, is to send you latest js files used by WebHtmlEditor.To use them you should extact them to location of your project and set JavaScriptDirectory to that location. For example, create js directory within your website, copy there js files and set property:<ighedit:WebHtmlEditor ... JavaScriptDirectory="./js"></ighedit:WebHtmlEditor>
I expect that latest js files should work with older dll, though some features my work slightly different. For example, latest js files have logic to keep server-value of editor height under IE, they have better support for validators and few other differences. If you will find any side effects or problems, then that approach with mismatching js files should not be used.
Hello Viktor,
I encounter this error in setting value to JavaScriptDirectory.
Line: 3311Error: Sys.ScriptLoadFailedException: The script '../Shared/JScript/WebHtmleditor/ig_htmleditor.js' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
I will try your suggestion. :)
Hello Viktor!
How will I apply those javascripts to my application?
Thanks in advance! :)
regards,
-herald
Last time I forgot to attach file.