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,
I found on our network v9.1 and v9.2 dlls of WebHtmlEditor and tested a website with those dlls. The Undo/Redo buttons worked under IE7/8 correctly. They did not work under IE9.It is possible that those dlls were built from latest at the time codes (around July of 2010), but you have earlier versions. I also tried to test various old versions of js files used by WebHtmlEditor which define functionality of client. I got from sourcesafe files at specific dates and tested them in a web site. I tried files at 8/20/2009, 10/20/2009, 1/20/2010, 4/20/2010, and few others. The Undo/Redo for IE7/8 worked for all those versions same way. I can not explain why it fails in your version of WebHtmlEditor.
In any case there is no updates for v2009.2 and no recent updates/fixes are applied to that dll.You may consider to upgrade to latest v2011.2.
Hello Viktor,
Here is the version what am I using right now in my application.
Infragistics2.WebUI.WebHtmlEditor.v9.2, Version=9.2.20092.1003
Let me know how could I troubleshoot this issue.
Thanks in advance and more power.
regards,
-herald
PS:
I also tried this solutions>>> http://forums.infragistics.com/forums/t/36572.aspx and it seems not working too. :'(
It is not clear what was your question about attached codes.I copied/pasted them into a form of website, added following line
<input type="button" value="show" onclick="document.getElementById('dvSummary').style.display='';" />clicked on button, editor appeared and I did not find any prolem with that.
Note: if you have some rendering issues, then recently there were some fixes for WebHtmlEditor related to height with calculations on server and client for IE browsers. The height of editor should take server values similar to other browsers.Though, those fixes are not available yet and coming service release should have them.
Hi Viktor,
I found a new issue/bug of WebHTMLEditor. Since Undo/Redo does not work when user clicks the button, we can use shortcut key for this CTRL+Z to undo and CTRL+Y to redo but there is still a bug/issue.
Steps to create the issue:
1.Load the control, make some changes in the text(bold, underline, change alignment and etc.)
2.Press the shortcut key for undo and redo (it works fine! :) )
3.Click Undo/Redo button. (ohh men. undo/redo won't work at all :[ )
The functionality of Undo/Redo is being disable on keypress of shortcut key. Kindly check and verify this issue It happens to our application
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.
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 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.
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.