Posted 6 October 2017, 5:32 pm EST
Hello,
Is there anyway to suppress JavaScript errors in the C1Editor control? We are trying to have the control display in a mode above IE 7/8 using either a meta tag (<meta http-equiv=““X-UA-Compatible”” content=““IE=edge”” />) or through registry editing and receive JavaScript errors when either is used. Setting it back down to IE 8 values works, however the formatting is less than ideal for printing the documents.
Here’s some simple VB.NET code to recreate the issue:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim xmlDoc As New Xml.XmlDocument() xmlDoc.LoadXml("<html><meta http-equiv=""X-UA-Compatible"" content=""IE=edge"" /><body>test</body></html>") Dim c1 As New C1.Win.C1Editor.C1Editor c1.Dock = DockStyle.Fill c1.Document = xmlDoc Me.Controls.Add(c1) End Sub
Thanks!