I use RadRichTextBox (WPF) to edit HTML documents.
These contain images with annotations.
It works as expected (except for the context menu popping up when I mark an image) and I can position the images according to my needs.
See Before.png where the red arrow points to something in the image.
When I save the HTML and load it into the RadRichTextBox again the image positioning is totally gone. See After.png
Am I missing something or does the HtmlDataProvider simply not work as expected?
I am using Telerik UI for WPF 2024 Q4\Binaries.NoXaml\WPF80\Telerik.Windows.Documents.Flow.FormatProviders.Doc.dll (version 2024.4.1106.60) on Windows 11 Pro (24H2). The program is developed using VS 2022.
It simply tries to load and display the attached DOCX file and the component crashes during layout with a null reference exception.
using var instream = File.OpenRead(path);
var openXmlRadDocProvider =
new Telerik.Windows.Documents.FormatProviders.OpenXml.Docx.DocxFormatProvider();
var raddoc = openXmlRadDocProvider.Import(instream);
RadRtb.Document = raddoc;
Word displays this perfectly. Trying to determine if this is a Telerik bug or a "me" problem.
Stenly replied and said he was unable to reproduce using 2025.2.707. I am able to reproduce the crash with that version. I have attached my project in case I'm doing something wrong in code.
Thanks.
-John Reilly.
Hi,
If I select multiple rows in a table in a RichTextBox, the delete options become un-selectable. How can I change this to enable me to delete multiple selected rows from a table?
Hey Telerik Team,
I'm working with the RadRichTextEditor in WPF and ran into a little issue. When I switch my keyboard to Arabic, I was expecting to see Arabic digits (٠١٢٣٤٥), but instead, it still shows the standard Western numbers.
Is there a way to enable Arabic digits when typing in Arabic? I’ve looked around but haven’t had much luck so far. If there's a setting or a workaround that could help, I’d really appreciate any pointers!
using System.Globalization;
Console.OutputEncoding = System.Text.Encoding.UTF8;
CultureInfo arabicCulture = new CultureInfo("ar-AE");
arabicCulture.NumberFormat.DigitSubstitution = DigitShapes.NativeNational;
arabicCulture.NumberFormat.NativeDigits = ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"];
//arabicCulture.CultureTypes = CultureTypes.
Thread.CurrentThread.CurrentCulture = arabicCulture;
Thread.CurrentThread.CurrentUICulture = arabicCulture;
int number = 12345;
Console.WriteLine(number.ToString(CultureInfo.CurrentCulture));
Hi,
In my project I am working on using RichTextBox to edit HTML text. In the project I use implicit styling and the Expression Dark theme. And for everything else in the project it works fine, but I am having issues with the RichTextBox.
I have added the reference to the dll, and in App.xaml I have added the styles. I was expecting the textbox to become darker, but I can also see a bunch of errors from the styling.
Wonder what I am missing.
Hello,
I have found a bug in the Track Changes Mode. It also occurs in the latest version (in the demo). To reproduce the bug:
The error occurs in Telerik WPF 2022.1.222, but in the new version, it still appears, though without throwing exceptions (I checked in the lastest demo, and the last character doesn't delete on the first attempt).
Can you reproduce this issue, or is it a known problem?
Is there a solution available?
I have a new WPF application, one that I am updating from Framework to Core. Everything has been converted and working properly except for one thing: the CheckBoxControl controls are not displaying. All other controls, including things like RadButton are RadGridView, are all displaying and working perfectly. I deleted the BIN and OBJ folders and cleaned the project, no change.
If I change the code to use the standard WPF CheckBox control everything works correctly.
<PackageReference Include="Telerik.UI.for.Wpf.80.Xaml" Version="2024.4.1213" />
<PackageReference Include="Telerik.Windows.Themes.Crystal.for.Wpf" Version="2024.4.1213" />
I have other projects in the solution that have working Telerik controls (except for the CheckBoxControl) that contain this in their project files:
<PackageReference Include="Telerik.UI.for.Wpf.80.Xaml" Version="2024.4.1213" />
in the xaml form:
// I have tried this with and without binding to the IsChecked property.
Everything else works fine, including the theming, except for the invisible CheckBox Control. IntelliSense works in the editor; no compilation errors or warnings.
I am using the NuGet packages from Telerik. There are no pending updates. I am not referencing any NoXaml packages.
It's probably something simple I am missing. Any thoughts and ideas would be greatly appreciated.
Thanks,
Lou
I would like to drag text outside of a WPF RadRichTextBox into a different App.
It seems that dragging any text just outside of this control is not possible, not even within the same app.
IMHO the problem is, that text can be moved within this control, and this feature cannot be deactivated.
Thanks a lot in advance for any hints.
Edit: Just checked with standard RichTextBox (FlowControl) no problems out of the box. I can drag text internal and as soon as mousepointer went outside, everything is fine and works there. Try this with RadRichTextBox and the Prompt goes crazy inside of your control.