Unplanned
Last Updated: 13 Dec 2016 15:02 by ADMIN
If there is sequence with more than one font info which is not declared in a separate group, they all are concatenated and recorded in the imported fonts as a single one with id from the last one. Here is such a problematic font table group:

{\\fonttbl\\f0\\froman\\fcharset0 Times New Roman;\\f1\\froman\\fcharset0 Times New Roman;\\f2\\froman\\fcharset0 Times New Roman;\\f3\\froman\\fcharset0 Times New Roman;\\f4\\froman\\fcharset0 Times New Roman;\\f5\\froman\\fcharset0 Times New Roman;}
Unplanned
Last Updated: 30 Mar 2016 12:59 by ADMIN
Unplanned
Last Updated: 21 Mar 2016 13:39 by ADMIN
Unplanned
Last Updated: 30 Mar 2016 12:56 by ADMIN
How to reproduce:
public Form1()
        {
            InitializeComponent();

            richTextEditorRibbonBar1.AssociatedRichTextEditor = radRichTextEditor1;
            radRichTextEditor1.Insert("This is a example for the \"ContextMenu shows up even when disabled\" error. If you right click on a word nothing happens (just as it is supposed to be) now klick \"Find Next Error\" and there it is (not supposed to be)\n\nlkjds klsdjfio jlk sdjfi lsdifuioew rlsoidf  sjdiuf oipds jifpodsuf ");

            radRichTextEditor1.IsContextMenuEnabled = false;
        }

        private void dropdown_PopupOpening(object sender, CancelEventArgs args)
        {
            args.Cancel = true;
        }

Workaround: 
public Form1()
        {
            InitializeComponent();

            richTextEditorRibbonBar1.AssociatedRichTextEditor = radRichTextEditor1;
            radRichTextEditor1.Insert("This is a example for the \"ContextMenu shows up even when disabled\" error. If you right click on a word nothing happens (just as it is supposed to be) now klick \"Find Next Error\" and there it is (not supposed to be)\n\nlkjds klsdjfio jlk sdjfi lsdifuioew rlsoidf  sjdiuf oipds jifpodsuf ");

            radRichTextEditor1.IsContextMenuEnabled = false; 

            FieldInfo fi = this.radRichTextEditor1.RichTextBoxElement.ContextMenu.GetType().GetField("radDropDownMenu", BindingFlags.Instance | BindingFlags.NonPublic);
            RadDropDownMenu dropdown = fi.GetValue(this.radRichTextEditor1.RichTextBoxElement.ContextMenu) as RadDropDownMenu;
            if (dropdown != null)
            {
                dropdown.PopupOpening += dropdown_PopupOpening;
            }
        }

        private void dropdown_PopupOpening(object sender, CancelEventArgs args)
        {
            args.Cancel = true;
        }
Unplanned
Last Updated: 15 Aug 2017 10:02 by ADMIN
ADMIN
Created by: Dess | Tech Support Engineer, Sr.
Comments: 0
Category: RichTextEditor
Type: Feature Request
1
Add similar functionality as MS Word.
Unplanned
Last Updated: 30 Mar 2016 12:22 by ADMIN
To reproduce:
- Set the ParagraphDefaultSpacingAfter to 1.
- Start the application and add a comment directly.

The issue exist when there is many comments as well. The comment balloons should have minimum size and should not overlap eachother.

Workaorund:
void radRichTextEditor1_CommandExecuting(object sender, CommandExecutingEventArgs e)
{
    if (e.Command is InsertCommentCommand)
    {
        int paragaphs = radRichTextEditor1.Document.Sections.First().Blocks.Count();

        if (paragaphs <= 1)
        {
            radRichTextEditor1.InsertLineBreak();
        }

    }
}
 
Unplanned
Last Updated: 30 Mar 2016 11:24 by ADMIN
To reproduce:
- Add RadRichtextEditor to a form and assosite it with RichTextEditorRibbonBar
- Start the application
- You will notice that the font is Agency FB.
- If you click in the editor the font will change.

Workaround:
void Form1_Shown(object sender, EventArgs e)
{
    radRichTextEditor1.Focus();
    ribbonBar1.GetType().GetMethod("HandleFontStylePropertiesOnCurrentEditingStyleChanged", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).Invoke(ribbonBar1,null);
}

Unplanned
Last Updated: 30 Mar 2016 11:24 by ADMIN
To reproduce:
- Add RichTextEditorRuler and RichTextEditor to a form.
- Add some tab stops in the ruler and press the tab key.

Workaround:
void radRichTextEditor1_CommandExecuting(object sender, Telerik.WinForms.Documents.RichTextBoxCommands.CommandExecutingEventArgs e)
{
    if (e.Command is IncrementParagraphLeftIndentCommand)
    {
        e.Cancel = true;
        TabForwardCommand tabForward = new TabForwardCommand(this.radRichTextEditor1.RichTextBoxElement);
        tabForward.Execute();
    }
}
Unplanned
Last Updated: 13 Dec 2016 14:10 by ADMIN
When ignoring incorrect words through the Spelling dialog and you reach the last word in the document which is incorrect, only one more word from the beginning of the document is checked prior showing a message that the check is complete. Instead, all incorrect words starting from the beginning of the document should be spellchecked. 

The issue is reproduced when adding the incorrect words to the dictionary. In order to reproduce the issue, only "Ignore" or "Add to Dictionary" action should be applied. When the actions are mixed, the issue is not reproduced.

Workaround: before opening the spellchecking dialog, move caret in the beginning of the document
this.radRichTextEditor1.Document.CaretPosition.MoveToFirstPositionInDocument();
Unplanned
Last Updated: 02 Oct 2018 07:33 by ADMIN
Currently invalid attribute values, including invalid or empty values in CSS attributes in the 'style' attribute, could cause importing property with incorrect value, or NullReferenceException (the document cannot be imported).
Examples:
----------------------------------------------------------
<table width=”*”>
	<tr>
		<td>More Random Text</td>
	</tr>
</table>

The table is imported with 0 width. Instead the width should not be set.
----------------------------------------------------------
<table style="font-size:;">
	<tr>
		<td>More Random Text</td>
	</tr>
</table>

NullReferenceException is thrown.
----------------------------------------------------------
<p style='padding: 3px 3px 3xp 7px;'>test</p>

IndexOutOfRangeException is thrown.

----------------------------------------------------------

 

Workaround: replace the invalid values before import: string importString = html.Replace("font-style: ;", "");
Unplanned
Last Updated: 17 Jan 2019 09:50 by ADMIN
RadRichTextEditor: MoveToDocumentElementStart works incorrectly when called consecutively with PermissionRangeStart as parameter
When the MoveToDocumentElementStart is called with parameter that is PermissionRangeStart and then is called a second time, the position moves to the previous position instead.


Unplanned
Last Updated: 06 Feb 2019 14:06 by ADMIN

Right-click on header/footer usually does nothing. If we double-click them we enter their edit mode. After we close header and footer and right-click on them we get context menu as if we are still in edit mode. If we scroll out of view of header/footer, and then back in, right-click will again do nothing.

Also, separate but similar bug, in demo document's footer there is a three-column table. It is possible to resize with the mouse all the columns widths, and even the row height. Mouse will change shape, as if in edit mode. It is not necessary to enter and leave edit mode like in previous case, the error is observable from the start. But if we scope out and scope back in the changes are undone, in a way like in previous case.

Unplanned
Last Updated: 01 Jul 2019 07:38 by ADMIN
The dialog should match the strings contained in the different document parts (headers, footers, footnotes, endnotes, comments).
Unplanned
Last Updated: 19 Nov 2019 06:48 by ADMIN
Add Paragraph property controlling  whether SpacingBefore / SpacingAfter is applied between paragraphs with the same style.

In MS Word, the corresponding option is controlled with "Don't add space between paragraphs of the same style" checkbox in the font properties dialog - and the paragraph spacing after will not be applied. 

In OOXML, it is described with the w:contextualSpacing element. We don't respect this property on import of such files, and the paragraph spacing is bigger.

Common use case for this feature is that when list is applied to multiple paragraphs, Paragraph List style is applied to the items, and this style has "Don't add space between paragraphs of the same style" applied, so the vertical spacing between the items is smaller.
Unplanned
Last Updated: 19 Nov 2019 07:34 by ADMIN

In Word, for paragraphs in a list:

1. The bullet/number uses the value of the first line indent

2.1 The text on the first line is aligned according to the left indent when the left indent is smaller than the first line indent (the usual case).

2.2 If the first line indent is smaller than the left indent, the first line aligns with the rest of the text, using the value of the left indent property.

2.3 When there are tab stops, they are used for the position of the text. In RadRichTextBox, the text in the first line always aligns according to the FirstLine indent.

Also, tab stops can be used to position the text after the bullet/number.

Unplanned
Last Updated: 25 Nov 2019 13:17 by ADMIN
Created by: KrishTS
Comments: 3
Category: RichTextEditor
Type: Feature Request
0

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. 

Unplanned
Last Updated: 26 Aug 2019 11:41 by ADMIN
When trying to import a document containing bookmark and BookmarkRangeEnd is after the last paragraph, a StackOverflowException is thrown in IntervalNode while trying to rebuild the document cache. (RadDocumentChildrenCache.RebuildTree()).

The same could be observed if the bookmark end is last in the header/footer, between table cells in the RadDocument body, or when all paragraphs after the bookmark range end are hidden (with vanish property).

Workaround: Detect the problematic annotations and remove them:
foreach (var rangeStart in document.EnumerateChildrenOfType<AnnotationRangeStart>())
{
    if (rangeStart.End == null || rangeStart.End.Parent == null || rangeStart.End.Parent.Parent == null)
    {
        //MessageBox.Show("This indicates a problem.");
        rangeStart.Parent.Children.Remove(rangeStart);
    }
}

Note: Until 2017 R2 SP1 release StackOverflowException is thrown, after this release an ArgumentException should be thrown.
Unplanned
Last Updated: 05 Sep 2019 10:17 by ADMIN
When deleting all content (e.g. Select All [CTRL+A] + Delete [Del]) in the document, it would be convenient for the user to preserve all formatting (local span formatting + local paragraph formatting + style) applied on the last paragraph. 

This will ensure that the user will continue edit the document with last current font, font family, etc.

If this operation is applied on an empty document, though, the styling of the single paragraph should be reset to the defaults for the document.
Unplanned
Last Updated: 12 Jun 2019 13:58 by ADMIN

Please refer to the attached gif file.

Let's take for instance demo application with its default document, with text "RadRichTextEditor for WinForms" at the beginning in font Calibri of size 28. Suppose the user wants to add A, then empty line, then C in single line, followed by the rest of the document, and to have these three new lines in Times New Roman in size 10.

If there is no empty line, but letter B in middle line, then user can set caret to document start, set the font and size, and type A<Return>B<Return>C<Return>. And it would look fine (and even then, if we set caret just after B and press Return the new paragraph will have spacing after set to 7.5 for no apparent reason).

If we want an empty line instead of B in the line, then there is no simple way to do it. Typing A<Return><Return>C<Return> would produce a huge gap between A and C (we still first set the caret, and font and size). One way to accomplish what we want is to select all new text, set font size to something other than 10, and then back to 10 (which is also weird to have to do).