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)

 

Declined
Last Updated: 08 Apr 2020 06:57 by ADMIN
Created by: David
Comments: 3
Category: RichTextBox
Type: Feature Request
0

In localizing your demo code for a RichTextBox I noticed some size mode-related inconsistencies in icon placements in the various sorts of buttons:

In Size=large, generally the icon appears above the button text. In the split button the icon is centered over and partially obscures the text. Unacceptable!

In Size=medium, generally the icon appears to the left of the text. In the Split button it appears below the text. Either is fine but should be consistent.

Also, when Size=medium and icon beside text, in all buttons I would like to see more spacing between the icon and the text; there seems to be virtually none.

Declined
Last Updated: 12 Sep 2019 15:58 by ADMIN
Created by: Matt
Comments: 1
Category: RichTextBox
Type: Bug Report
0

When importing from a .docx the RichTextBox is adding a blank line for each continuous section break. You can see this in the attached file - in the RichTextBox there is an extra line between sections that does not exist in the source word document.

Declined
Last Updated: 13 Sep 2019 14:14 by ADMIN
Created by: Matt
Comments: 1
Category: RichTextBox
Type: Feature Request
0
MS Word has support for line numbers (see attached file) but RichTextBox ignores them. Could we get support for Words line numbering options?
Declined
Last Updated: 28 Jun 2019 14:11 by ADMIN

Hi Telerik,

We are converting XAML content into PDF file with below code.

private byte[] Xaml2Pdf(string xamlContent)
{
	try
	{
		XamlFormatProvider xamlFormatProvider = new XamlFormatProvider();
		PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
		PdfExportSettings exportSettings = new PdfExportSettings();
		exportSettings.ContentsCompressionMode = PdfContentsCompressionMode.Automatic;
		exportSettings.ContentsDeflaterCompressionLevel = 9;
		exportSettings.DocumentInfo = new PdfDocumentInfo() { Producer = "ALIS", Author = "ALIS", Creator = "ALIS" };
		exportSettings.ImagesCompressionMode = PdfImagesCompressionMode.Automatic;
		exportSettings.ImagesDeflaterCompressionLevel = 9;
		pdfFormatProvider.ExportSettings = exportSettings;

		byte[] content = pdfFormatProvider.Export(xamlFormatProvider.Import(xamlContent));

		return content;
	}
	catch
	{
		throw;
	}
}
When we convert attached XAML content with above code it will gives an output pdf file but when we open pdf file into Adobe Reader DC it will display some error message before opening it.

Currently we are using 2016.2.905.45 version.

Previously when we was use 2016.1.302.45 version at that time we didn't notice same issue.

Please assist.

Thank you.
Declined
Last Updated: 15 May 2019 13:38 by ADMIN
Created by: Patrick
Comments: 2
Category: RichTextBox
Type: Feature Request
0

With a picture of original size like this : width 2 800 and Height 1376. On the screen the picture is around 470 by 230. If I go to the Image Editor, it shows me the picture size itself but not the area size used by the picture. It is a good thing to have the original picture's dimension but we work with the dimension used in the document. So, could you do something to resize the picture used in the document.

In my samples, you'll see my picture in a document (ie1), what I see when I go in the Image Editor (ie2) and, when I go to the Resize section (ie3). Suggestion, put the original image's dimension on the top of the right corner in the resize section. The width and Height should show the dimension in the document.

Thanks a lot, 

Declined
Last Updated: 25 Sep 2018 12:15 by ADMIN
Created by: Huan jia
Comments: 1
Category: RichTextBox
Type: Bug Report
0
Open a docx file in richtextbox, if numpages in headers do any subtraction, it can not display correctly. see the attached pictures for how to display in richtextbox and microsoft word 2016.
Declined
Last Updated: 24 Jan 2018 12:48 by ADMIN
When cross-reference is added in the header/footer of a document in does not show the available options from the document.

XAML team reviewed this item and noted that it duplicates with another one. Please use the item below in order to track the status of this request.
https://feedback.telerik.com/Project/143/Feedback/Details/210419-richtextbox-add-functionality-to-work-with-cross-references-and-hyperlinks-to-bo
Declined
Last Updated: 15 Aug 2017 07:23 by ADMIN
Hi Team,
              I am sending one html body to outlook 2013 which contain bulletedlist, till my desktop app its bullets are looking ok. but after sending it to outlook new email body, there are too much space between bullet and inline text, please provide input, how can i handle it.
I think my bullets having different pattern which outlook 2013 doesn't support.
Do i need to add any other property background position : inside; something like.


Please find the attachments,
Thanks
Deepak
Declined
Last Updated: 18 Oct 2018 15:13 by ADMIN
When the user enter text using the keyboard the PositionChanged event of the CaretPosition is not fired.
The item's status changed to Declined - the LocationChanged event can be used to track when the location of the position has been changed.
Declined
Last Updated: 30 Jan 2017 11:58 by ADMIN
A NullReference exception is thrown when the content of a MS Outlook mail is copy/pasted into RadRichTextBox. 

This is reproducible in Paged LayoutMode.
Declined
Last Updated: 12 Apr 2016 16:30 by ADMIN
Created by: Mattiullah
Comments: 1
Category: RichTextBox
Type: Feature Request
0
please add shapes support for radrichtextbox. else support another textbox
Declined
Last Updated: 14 Apr 2016 11:00 by ADMIN
Created by: Thomas
Comments: 2
Category: RichTextBox
Type: Bug Report
0
I have tried to use the RichTextBox, but found that it does not work very well when it comes to measure the text. This results in clipped text and that the caret can be displayed in a different place then expected.
This can easily be seen with a font like Gabriola, which uses complex kerning metrics. Type a text with a lot of "ff" and "fi" and you will soon see that your caret gets out of sync and that text is sometimes clipped.
When I look at the code of RichTextBox it seems to me that it uses its own calculation of text widths and that the this is based on a very simple method using just the kerning information. There is also a hard coded list containing information which fonts that has kerning info and which fonts that are mono spaced. It seems strange to me to have this in a config file since there is a large number of fonts used by the users.
It also seem to look at the Unicode character family in order to determine if ligatures are used or not, which is also quite strange since ligatures can be used for western characters too. The font Gabriola is an example of this. Look at "fi" in a word like "fine".
It can potentially consume a lot of memory since I think that it builds a dictionary of the kerning of all pairs of characters for all fonts that it encounters.
I guess this way of doing things were made for performance, but unfortunately, good performance doesn't help much if it doesn't work.
I am not sure if I should report this as a bug, since it is more of a fatal design issue of the whole control.
Declined
Last Updated: 17 Aug 2017 15:27 by ADMIN
Declined
Last Updated: 25 Feb 2016 16:49 by ADMIN
Created by: Shankar Ram
Comments: 1
Category: RichTextBox
Type: Bug Report
0
Please look for the same topic in the forum for context. 
@Todor:
Am attaching the wmf file and png file that don't get rendered.
Declined
Last Updated: 08 Aug 2017 14:37 by ADMIN
The invalid values should be skipped and the document should be successfully imported.
Declined
Last Updated: 17 Aug 2017 14:29 by ADMIN
ADMIN
Created by: Tanya
Comments: 1
Category: RichTextBox
Type: Feature Request
0
When adding a comment it should be marked as created from the current user. Layer with tool tips should be added to show this information. Also comment balloons should contain it.
Declined
Last Updated: 16 Aug 2016 13:22 by ADMIN
ADMIN
Created by: Todor
Comments: 0
Category: RichTextBox
Type: Bug Report
0
Localization strings for thumbs and tab stop tooltips are missing. 

Note: This item is merged with the one at http://feedback.telerik.com/Project/143/Feedback/Details/141977 . To track the status of the issue, please subscribe to the other feedback item.
Declined
Last Updated: 19 Oct 2015 10:26 by ADMIN
Created by: yi
Comments: 1
Category: RichTextBox
Type: Feature Request
0
For now, We can drag or paste Images into RadRichTextBox. But still can't drag or paste files like RichTextBox in Winform. It's very inconvenient!
Declined
Last Updated: 31 Oct 2018 08:11 by ADMIN
The problem occurs in specific situations when a list depends on a style that hasn't been added to the fragment in the clipboard yet.

Workaround: Replace the fragment in the clipboard with one that is already "fixed", as in the attached MainWindow.cs.txt