I recently upgraded from version 7 to version 15.1.2 (NuGet) of the AjaxControlToolkit. I've noted several issues with the HtmlEditor: (all issues tested on the latest stable Chrome release.)
1) Required CSS references aren't present when inheriting the control into a custom class, e.g., public class MyEditor : AjaxControlToolkit.HtmlEditor.Editor { ... } is missing most styling when used on a page. Changing the class to inherit Control and adding an Editor to this.Controls programatically works as expected.
2) The "Insert Link" popup is missing all text, and doesn't actually insert a link into the content window after use.
3) The paste button throws a JavaScript error: "Uncaught Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: format" (paste from Word might have a similar issue, I'm not entirely sure.)
All other default toolbar buttons seem to work correctly.
Comments: Hi, Thank you for sharing your experience! Let me address your inquiries sequentially: 1. Unfortunately, this problem still exists in the current version of AJAX Control Toolkit. We are working on it and will fix it in the nearest future. 2. We can't reproduce this issue. Would you please provide a sample project for investigation? 3. It seems that the "Paste" button doesn't throw the exception you are talking about. We tested its behavior in the latest stable Chrome release. Unfortunately, it doesn't work in many modern browsers for security reasons. Best regards, Fadil
1) Required CSS references aren't present when inheriting the control into a custom class, e.g., public class MyEditor : AjaxControlToolkit.HtmlEditor.Editor { ... } is missing most styling when used on a page. Changing the class to inherit Control and adding an Editor to this.Controls programatically works as expected.
2) The "Insert Link" popup is missing all text, and doesn't actually insert a link into the content window after use.
3) The paste button throws a JavaScript error: "Uncaught Sys.ArgumentUndefinedException: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: format" (paste from Word might have a similar issue, I'm not entirely sure.)
All other default toolbar buttons seem to work correctly.
Comments: Hi, Thank you for sharing your experience! Let me address your inquiries sequentially: 1. Unfortunately, this problem still exists in the current version of AJAX Control Toolkit. We are working on it and will fix it in the nearest future. 2. We can't reproduce this issue. Would you please provide a sample project for investigation? 3. It seems that the "Paste" button doesn't throw the exception you are talking about. We tested its behavior in the latest stable Chrome release. Unfortunately, it doesn't work in many modern browsers for security reasons. Best regards, Fadil