To reproduce: add some text to RadRichTextEditor and set the Enabled property to false. You will notice that the text gets bold and blurry. Workaround: instead of disabling RadRichTextEditor, use the ReadOnly property.
How to reproduce: check the attached video
Add only a RichTextEditorRibbonBar without any other control on the form. If you run the application you will notice that it loads more than one second. We should investigate if it is possible and how to improve the initialization time.
Provide functionality allowing a document to be thumbnailed. The customers should be able to export a document to an image. Workaround: Use attached project.
The issue only reproduces on Windows 10( 1806). Check the attached video showing the result:
Workaround: Handle the CommandExecuting event this way
private void RadRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
if (e.Command is ChangeFontFamilyCommand && e.CommandParameter.ToString() == "")
{
e.Cancel = true;
}
}
Hi Team,
Greetings!
We recently bought your Tool for one our Windows Forms Project work in VS2019 (4.7.2 framework).
There is a need for us to have Emojis inside the editable Textbox / RichTextEditor in Color.
For example, if we paste Emojis inside the text editor, it should retain the color of the Emoji as it is.
Currently if we paste the Emoji inside the text editor, its only pasting the Emoji but losing it's color.
How to retain the color of the Emoji inside the editable Textbox / RichTextEditor ? Is there any property or so we need to set?
The users of our application can paste any kind of Emoji (like inbuilt Windows10 Operating System Emojis etc.,) and there is no limitation for this.
Kindly advice.
with regards,
Krish TS,
Senior Technical Programmer Analyst,
DXC.technology,
India.
The customers need to convert the position to an integer number representing the offset of the current position from the first position in the document. A method returning the position at a specified offset would be useful as well.
Some voice recognition software (Nuance) is using integer positions as well.
In MS Word, MS RichTextBox and DevExpress RichTextBox, the positions are represented as integer numbers.
Some fonts don't include bold and italic font styles. Currently, text formatted with such fonts and with applied bold or italic formatting is exported without the italic or bold effect. Instead, the default typeface can be exported, and additional transformation could be applied to the letters itself - e.g. skew transform for the italic.
Note: It seems that the GlyphTypeface for such fonts is using a non-italic (non-bold) font file and has StyleSimulations property set to ItalicSimulation (BoldSimulation) which is used in order to render the glyphs italic.
Hi Sir,
We updated telerik and facing some issues with that.
in new update with rich text editor has new property called MentionBox settings of that auto added in to designer code.
which creates an error when we run the application.
following line is auto added.
mentionBox1.FocusedItemIndex = -1;
we have to comment every time after doing UI changes. and we need to check every time whether that line is commented or not.
Please Help Us.
Thanks,
Ashish.
The HtmlFormatProvider does not import correctly html content of div tags and css styles.
When importing HTML files if the font from the style contains serif element the font does not get interpreted correctly. For example "font-family: 'Times New Roman','serif';" - this will not work, but this font-family: 'Times New Roman';" will work.
To reproduce: string text = "<p style=\"font-family:Calibri; font-size:15pt;\">Hi,<br/><br/><br/><br/>Regards<br/></p>"; HtmlFormatProvider provider = new HtmlFormatProvider(); RadDocument document = new RadDocument(); document = provider.Import(text); radRichTextBox1.Document = document; Click on an empty line and you will see that the font is different.
Drop a RadRichTextEditor and a WinForms button on a form.
Set the text of the button to "&Activate" and show a message box in the button click handler.
Run the program, and type some text - the button is activated whenever you try to type the letter "a" in the editor.
Workarround: Inherit RadRichTextEditor and override IsInputChar method
protected override bool IsInputChar(char charCode)
{
return true;
}
To reproduce: 1.Add some text to RadRichTextEditor. 2.Copy an image from a Word document and paste it to the RadRichTextEditor. 3.Export the document content with RtfFormatProvider. When you try to open the exported .rtf file via WordPad, you will notice that the image is not loaded. Please refer to the attached files created by MS Word and RadRichTextEditor.
To reproduce: - Add some full pages to the editor. - Remove all margin from the print settings and document settings. - PrintPreview the document. - Seth the print preview dialog zoom to 100% and compare the documents. - You will notice that the print document's content is smaller.
To reproduce:
- Add RichTextEditorRibbonBar to a form and open it upon button click several times.
- You will notice that the memory is constantly increasing.
Workaround:
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
FieldInfo f1 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableStyle", BindingFlags.NonPublic| BindingFlags.Instance);
RichTextEditorRibbonTab tab1 = f1.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
tab1.Dispose();
FieldInfo f2 = this.richTextEditorRibbonBar1.GetType().GetField("tabTableLayout", BindingFlags.NonPublic | BindingFlags.Instance);
RichTextEditorRibbonTab tab2 = f2.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
tab2.Dispose();
FieldInfo f3 = this.richTextEditorRibbonBar1.GetType().GetField("tabHeaderFooter", BindingFlags.NonPublic | BindingFlags.Instance);
RichTextEditorRibbonTab tab3 = f3.GetValue(richTextEditorRibbonBar1) as RichTextEditorRibbonTab;
tab3.Dispose();
base.Dispose(disposing);
}
When the RadRichTExtEditor.Document is rapidly changed not all memory is released Workaround: Point loc = radRichTextEditor1.Location; Size size = radRichTextEditor1.Size; radRichTextEditor1.Dispose(); radRichTextEditor1 = new RadRichTextEditor(); radRichTextEditor1.Location = loc; radRichTextEditor1.Size = size; this.Controls.Add(radRichTextEditor1);