Unplanned
Last Updated: 13 Jan 2020 09:37 by ADMIN

To reproduce:

- Add a multilevel list to a document and export it to HTML

- Import the document again the list is changed and the values are not correct.

Completed
Last Updated: 14 Feb 2020 15:07 by ADMIN
Release R1 2020 SP1
When copy a modified Heading from Word document and paste it into a RichTextBox the modified styles are not correctly imported.
Completed
Last Updated: 14 Feb 2020 11:37 by ADMIN
Release R1 2020 SP1
The Popup needs to be triggered to recalculate its position.

The following fixes the issue in PasteOptionsPopup.cs
 
        private bool SetLocation(Point location)
        {
            if (this.HorizontalOffset != location.X || this.VerticalOffset != location.Y)
            {
                this.HorizontalOffset = location.X;
                this.VerticalOffset = location.Y;
                return true;
            }
            // added the following 5 lines to trigger the popup to recalculate it's location
            else
            {
                this.VerticalOffset++;
                this.VerticalOffset--;
            }
            return false;
        }
Completed
Last Updated: 18 Feb 2020 10:38 by ADMIN
Release R1 2020 SP1
Pressing an arrow key directly selects an item from the list box which triggers the logic for applying a paste option. Instead, the list box item should be just focused.
Unplanned
Last Updated: 19 May 2020 12:00 by ADMIN
Created by: Martin
Comments: 0
Category: RichTextBox
Type: Feature Request
0
a:hover {
            color: #3ca9f6
} 
Unplanned
Last Updated: 20 May 2020 07:03 by ADMIN
Dialogs and Context menu are not applied correctly during a runtime theme change.
Unplanned
Last Updated: 21 May 2020 11:32 by ADMIN

Paste some text inside RadRichTextEditor. If the text has more rows than the currently visible area you will see that the control does not scroll down to the caret position.

Workaround:

 

private void RadRichTextBox_CommandExecuted(object sender, CommandExecutedEventArgs e)
{
    if (e.Command is PasteCommand)
    {             
        Application.DoEvents();

        bool cursorAtDocEnd = this.radRichTextBox.Document.CaretPosition.IsPositionAtDocumentEnd;
        if (cursorAtDocEnd)
        {
            MoveCaretCommand command = new MoveCaretCommand(this.radRichTextBox.RichTextBoxElement);
            command.Execute(MoveCaretDirections.Down);
        }
    }
}

 

Unplanned
Last Updated: 22 Jan 2021 11:30 by ADMIN
 Table cells padding is changed when there is an empty cell
Unplanned
Last Updated: 09 Jun 2020 09:12 by ADMIN
There is a problem with the export to HTML. After importing a HTML created outside of RichTextBox you can change the indentations of the list. But if you export it to HTML and then import it again, the indentation position is fixed and only the bullet representation is changing.
Unplanned
Last Updated: 25 Jun 2020 08:09 by ADMIN
RtfFormatProvider does not import fonts when font definition starts with "fnil" tag
Unplanned
Last Updated: 30 Jun 2020 07:50 by ADMIN

Dear all,

 

Exporting partially-selected annotation ranges (annotation markers around selection or only one annotation marker in the selection) with a DocumentFragment from a RadDocument does not seem possible (the DocumentFragment contains none of these annotation ranges).

 

For example, if I have a document ("[", "]" are the annotation markers):

"Test [annotated]",

select "Test [ann" and create a DocumentFragment, the Document fragment will contain "Test ann" and not "Test [ann]".

 

PS.: I am not sure if this falls into the feature request or bug report area.

Completed
Last Updated: 30 Nov 2020 15:03 by ADMIN
Release LIB 2020.3.1207 (07/12/2020)
Importing structured document tags with auto-close SdtContent tag throws InvalidCastException exception
Unplanned
Last Updated: 20 Jul 2020 08:29 by ADMIN
Additional optional hyphen is inserted between two divs when the text in the first one is wrapped in <p> tag and in the second is not:
<!DOCTYPE html>
<html>
<body>

<div><p>RadDocument</p></div>
<div>Document</div>

</body>
</html>

Unplanned
Last Updated: 27 Jul 2020 13:13 by ADMIN
The list style is not changed according to the surrounding font
Declined
Last Updated: 29 Feb 2024 07:39 by ADMIN

I have no idea how to reproduce this, but every so often after a paste operation into a RadRichTextBox, the host thread becomes unresponsive to user input. The message pump is still running but the following unhandled exception gets thrown in a tight infinite loop. The only way to close the window is to right click on the taskbar button.

System.NullReferenceException
Message: Object reference not set to an instance of an object.
Call Stack:
    at Telerik.Windows.Documents.Layout.LayoutElement.SetParent(LayoutElement newParent)
    at Telerik.Windows.Documents.Layout.LayoutBox.EnsureParent()
    at Telerik.Windows.Documents.Layout.LayoutBox.get_Parent()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.get_IsEndOfCell()
    at Telerik.Windows.Documents.Layout.FormattingSymbolLayoutBox.GetFormattingSymbolVisual()
    at Telerik.Windows.Documents.SpanBoxPositionHandler.get_Location()
    at Telerik.Windows.Documents.UI.DocumentWebLayoutPresenter.GetViewPointFromDocumentPosition(DocumentPosition position)
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.CalculateLocation()
    at Telerik.Windows.Controls.RichTextBoxUI.PasteOptionsPopup.OnOwnerLayoutUpdated(Object sender, EventArgs e)
    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
    at System.Windows.ContextLayoutManager.UpdateLayout()
    at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
    at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
    at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
    at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Completed
Last Updated: 20 May 2021 14:13 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
Expose property allowing the customers to show the popup without transparency.
Declined
Last Updated: 05 May 2020 12:28 by ADMIN
When creating Multiple citations in word (TestSave.docx) and then updating the fields in telerik (TestSave2.docx), it changes the field and removes the additional citations.
Unplanned
Last Updated: 08 May 2020 07:12 by ADMIN
When multiple citations are created in MS Word (TestSave.docx) and then the document is opened in richTextBox and you update fields the update command removes the additional citations (TestSave2.docx)
Unplanned
Last Updated: 19 May 2020 15:13 by ADMIN
When a <br/> element is the last element in a paragraph, it should be skipped.
Unplanned
Last Updated: 12 May 2020 08:54 by ADMIN

Scenario 1:

The <br/> tags after </li> are treated as separate paragraphs and inherit the list styling of the previous paragraphs resulting in duplicate bullets.

Workaround

var paragraphsToRemove = this.radRichTextBox.Document.EnumerateChildrenOfType<Paragraph>().Where(p => p.IsInList && p.Inlines.First() is Break);
foreach (var p in paragraphsToRemove)
{
    p.ListId = -1;
}
 
this.radRichTextBox.UpdateEditorLayout();

Scenario 2:
The <br/> tags added as the last element of <li> are treated as break elements in the content, causing additional new lines in the document.

Workaround:

var paragraphsWithLineBreak = document.EnumerateChildrenOfType<Paragraph>().Where(p => p.IsInList && p.Inlines.Last() is Break);
foreach (var p in paragraphsWithLineBreak)
{
    p.Inlines.Remove(p.Inlines.Last);
}
 
this.richtextbox.Document = document;